[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. f9491973457baf525d8165f6ff8d981e222b4cac

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_4 has been updated
       via  f9491973457baf525d8165f6ff8d981e222b4cac (commit)
      from  bbb14ec1dba963cb808e72ef7d0564902dce7424 (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 f9491973457baf525d8165f6ff8d981e222b4cac
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 d806245a64..fc2ab193c4 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
@@ -27,6 +27,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