[open-ils-commits] [GIT] Evergreen ILS branch master updated. ffc05ea8f732a7b0d4ccf9ca94e68abc1e2ef17d

Evergreen Git git at git.evergreen-ils.org
Wed Aug 5 17:11:02 EDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  ffc05ea8f732a7b0d4ccf9ca94e68abc1e2ef17d (commit)
      from  b4eb8c68ad812e3c2e7ce045c91a26c4d2d19a61 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ffc05ea8f732a7b0d4ccf9ca94e68abc1e2ef17d
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Tue Jul 28 11:09:45 2020 -0400

    LP#1889251: make call number affix sort keys read-only
    
    This patch makes the call number prefix and suffix label sort
    key fields read-only on their respective Server Administration
    pages, as any values that a user would try to set for them
    would get overwritten by a database trigger.
    
    To test
    -------
    [1] Apply the patch.
    [2] Go to Server Administration -> Call Number Prefixes (or Suffixes)
        and attempt create and edit new affixes.
    [3] Verify that the label sort key is a read-only display field on the
        edit modal.
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
    Signed-off-by: Rogan Hamby <rogan.hamby at gmail.com>

diff --git a/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts
index 998a8b9e52..ec37bc205d 100644
--- a/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts
+++ b/Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts
@@ -30,6 +30,16 @@ const routes: Routes = [{
     data: [{schema: 'actor',
         table: 'org_unit_proximity_adjustment', disableOrgFilter: true}]
 }, {
+    path: 'asset/call_number_prefix',
+    component: BasicAdminPageComponent,
+    data: [{schema: 'asset',
+        table: 'call_number_prefix', readonlyFields: 'label_sortkey'}]
+}, {
+    path: 'asset/call_number_suffix',
+    component: BasicAdminPageComponent,
+    data: [{schema: 'asset',
+        table: 'call_number_suffix', readonlyFields: 'label_sortkey'}]
+}, {
     path: ':schema/:table',
     component: BasicAdminPageComponent
 }];

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts | 10 ++++++++++
 1 file changed, 10 insertions(+)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list