[open-ils-commits] [GIT] Evergreen ILS branch rel_3_5 updated. b0937bec9e04c649112dfa88e737fd73cb448d70

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, rel_3_5 has been updated
       via  b0937bec9e04c649112dfa88e737fd73cb448d70 (commit)
      from  54e8ad12a5c11124938208cc98f9aa22bf957e76 (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 b0937bec9e04c649112dfa88e737fd73cb448d70
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