Bug 31976: Incorrect default category selected by authorized values page
authorOwen Leonard <oleonard@myacpl.org>
Wed, 26 Oct 2022 15:52:18 +0000 (15:52 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 5 Dec 2022 23:37:08 +0000 (23:37 +0000)
commit0b0dcefd5aea5a6d7b551372557eb56ec6859aa8
tree14aafb3d7c9ad60538e44e0a2c50cc3124112efb
parent867c03bf6abba10eff72d125efca02c72ecba2e0
Bug 31976: Incorrect default category selected by authorized values page

This patch removes some obsolete code for selecting a default authorized
value category to be shown when the user first arrives on the authorized
values page. This has not been necessary since we switched to an
interface which lists all categories.

NOTE: This bug will not be reproducible if your first authorized value,
alphabetically, has no values associated with it. For instance, if you
delete all authorized values in the AR_CANCELLATION category.

To test, apply the patch and go to Administration -> Authorized values.

In the breadcrumbs menu you should see "Home -> Administration ->
Authorized values."

Clicking any of the authorized value categories in the list should take
you to a view of that category's values.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0ec29e5d4ecdf5dd3156b53320eac1250d065e3b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/authorised_values.pl