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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 16:08:10 +0000 (13:08 -0300)
commit412c0261014dabc0aada39287dc1b7d801c93ad0
tree948b179f795afd97f64f9726969b642baf1905f7
parent83bde3e650ee83aed5419fa99282ae717752c458
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>
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