Bug 32799: Rename ILLSTATUS authorised value category to ILL_STATUS_ALIAS
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 9 Feb 2023 21:08:53 +0000 (21:08 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 1 Mar 2023 15:38:27 +0000 (15:38 +0000)
commitb4996bbc1171a56a8580ed62f0e79bc88f61f3cc
treee8cea3c5d7ce540cc92f1e306a65d60d5eaf7231
parenta0a3b9809b4a0037ee198df509f5f69915c517b2
Bug 32799: Rename ILLSTATUS authorised value category to ILL_STATUS_ALIAS

To test:
1) Activate the IllModule system preference
2) Install a backend (BLDSS or FreeForm) following the wiki instructions:
3) Configure some authorised values for ILLSTATUS
4) Apply patch
5) Run database update
6) Verify your configured values have been updated to ILL_STATUS_ALIAS
7) Add another ILL_STATUS_ALIAS: there should now be an explanation in the
   categories list
8) Go to the ILL module and add a new request
9) Edit the request, verify that your status alias show in the status list
10) Set one of your status and save
11) Verify that the ILL requests list search filters show your status alias
12) Manage the request again and verify that the ILL request log shows the
    status descriptions correctly
13) Verify the description of the ILLHiddenRequestStatuses has
    been updated with the new authorised value category

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 412c0261014dabc0aada39287dc1b7d801c93ad0)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
Koha/Illrequest.pm
Koha/Illrequest/Logger.pm
installer/data/mysql/atomicupdate/bug_32799_ill_status_alias.pl [new file with mode: 0755]
installer/data/mysql/mandatory/auth_val_cat.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
t/db_dependent/Illrequests.t