LP#1889251: make call number affix sort keys read-only user/rogan/lp1889251_suffix_prefix_ro
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 28 Jul 2020 15:09:45 +0000 (11:09 -0400)
committerRogan Hamby <rogan.hamby@gmail.com>
Wed, 29 Jul 2020 13:49:15 +0000 (09:49 -0400)
commit0f8ed1764354caee7e9d68c31733d4a51350a859
tree0e1db67e76a19bf2b8c05f80f64579a0b2afa18e
parent7570d7e4029ff8195fa086af3619c15ce50cb5bc
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>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts