Koha/installer/data/mysql
Magnus Enger 884b3e71d8 Bug 23391: Hide finished ILL requests
Currently, the main table of ILL requests will display all ILL
requests in the database, regardless of their status. For libraries
with active ILL this quickly leads to a lot of requests being displayed,
and the main page of the ILL module taking a long time to load. This
patch proposes to fix this by introducing the ILLHiddenRequestStatuses
syspref, which can take a pipe-separated list of ILL statuses that
will be hidden from view in the ILL module. This means that the
only way to find a hidden request will be through a report.

To test:
- Apply the patch and make sure the atomic database update is run
- Make sure you have a few ILL requests, with at least two different
  statuses
- Check that all requests are still displayed in the main table of
  ILL requests
- Add one of the statuses* you have in your database to the
  ILLHiddenRequestStatuses syspref, reload the ILL module frontpage
  and verify that requests with the given status are not displayed
- Change the syspref to another status and verify requests with
  that status are now hidden
- Change the syspref to hold both statuses, separated by the pipe
  symbol (e.g.: A|B). Verify that no requests with the given
  statuses are now displayed
- Run the ILL REST API tests, e.g.:
  $ sudo koha-shell -c "prove t/db_dependent/api/v1/illrequests.t" kohadev

* = The ILLHiddenRequestStatuses syspref should hold status codes, like
"REQ" and "NEW", not their human readable counterparts.

Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-20 17:25:40 +02:00
..
atomicupdate Bug 23391: Hide finished ILL requests 2020-07-20 17:25:40 +02:00
de-DE Bug 23148: Fix bridge image paths in de-DE installer files 2020-07-20 16:16:37 +02:00
en Bug 23148: (follow-up) Correct image paths in sample data and tests 2020-07-20 16:16:37 +02:00
fr-CA Bug 23787: (follow-up) Format due date as due date 2020-05-12 10:58:06 +01:00
fr-FR Bug 23787: (follow-up) Format due date as due date 2020-05-12 10:58:06 +01:00
it-IT Bug 23148: (follow-up) Correct image paths in sample data and tests 2020-07-20 16:16:37 +02:00
mandatory Bug 17355: DB changes - set is_system for categories 2020-05-04 07:57:21 +01:00
nb-NO Bug 23148: (follow-up) Correct image paths in sample data and tests 2020-07-20 16:16:37 +02:00
pl-PL Bug 23148: (follow-up) Correct image paths in sample data and tests 2020-07-20 16:16:37 +02:00
ru-RU Bug 23148: (follow-up) Correct image paths in sample data and tests 2020-07-20 16:16:37 +02:00
uk-UA Bug 23787: (follow-up) Format due date as due date 2020-05-12 10:58:06 +01:00
account_credit_types.sql Bug 24081: Add credit_types, offset_types and permissions 2020-03-04 14:46:13 +00:00
account_debit_types.sql Bug 25010: Fix typo 'rewewal' in debit types 2020-04-03 14:26:35 +01:00
account_offset_types.sql Bug 24081: (QA follow-up) Fix small typo 2020-03-04 14:46:25 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 24840: Replace DateTime->now with dt_from_string 2020-04-08 11:54:23 +01:00
kohastructure.sql Bug 22844: Add the new DB column borrower_attribute_types.mandatory 2020-07-20 16:08:22 +02:00
labels_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
patroncards_upgrade.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
sysprefs.sql Bug 23391: Hide finished ILL requests 2020-07-20 17:25:40 +02:00
update22to30.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
updatedatabase.pl Bug 23148: DBRev 20.06.00.008 2020-07-20 17:25:35 +02:00
userflags.sql Bug 4461: Adding user flags for managing OPAC problem reports 2020-04-06 11:18:13 +01:00
userpermissions.sql Bug 17268: Add macros table and permissions 2020-05-04 08:25:07 +01:00