LP#1889251: make call number affix sort keys read-only user/gmcharlt/lp1889251_readonly_affix_sortkeys
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 28 Jul 2020 15:09:45 +0000 (11:09 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 28 Jul 2020 15:09:45 +0000 (11:09 -0400)
commit67d37b3c416b0a75a72850083ceda0e1d2569c71
treee39e5eb50b6eac61c9eef74e33bc395cc1009647
parentade09f8bc93ae3ed8b1ee97c33ba082818ac3431
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@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts