Koha-clms/installer/data/mysql
Fridolin Somers 2a0be09d63 Bug 18989: Allow displaying biblios with all items hidden by OpacHiddenItems
Bug 10584 made Koha hide biblios for which all items match some criteria (in OpacHiddenItems) so they are hidden.
Add syspref OpacHiddenItemsHidesRecord controlling this behaviour.

Test plan :
1)
1.1) Create some biblio records with one item having damaged=1
1.2) Define system preference OpacHiddenItems = damaged: 1
2)
2.1) Set system preference OpacHiddenItemsHidesRecord to 'don't hide'
2.2) At OPAC : perform a search showing those records and some more
2.3) Check you see the all the records
2.4) For a record with hidden item check you don't get HTTP 404 for : normal view, ISBD view, MARC view
2.5) Check you can had tags on this record
2.6) Add record to basket, check you see it in basket
3)
3.1) Set system preference OpacHiddenItemsHidesRecord to 'hide'
3.2) At OPAC : perform a search showing those records and some more
3.3) Check you don't see the records with hidden item
3.4) For a record with hidden item check you get HTTP 404 for : normal view, ISBD view, MARC view
3.5) Show basket, check you see the records with hidden item

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-05-12 14:12:07 +02:00
..
atomicupdate Bug 28108: DBRev 20.12.00.049 2021-05-10 15:52:53 +02:00
en Bug 26995: Remove occurrences in sample_patrons.yml 2021-05-10 15:46:55 +02:00
fr-CA Bug 16486: Display the timestamp when an accountline is updated 2021-05-06 15:52:41 +02:00
fr-FR Bug 16486: Display the timestamp when an accountline is updated 2021-05-06 15:52:41 +02:00
localization Bug 28108: Replace one remaining occurrence 2021-05-10 15:52:53 +02:00
mandatory Bug 18989: Allow displaying biblios with all items hidden by OpacHiddenItems 2021-05-12 14:12:07 +02:00
nb-NO Bug 16486: Display the timestamp when an accountline is updated 2021-05-06 15:52:41 +02: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 26995: Drop column relationship from borrowers, deletedborrowers and borrower_modifications tables 2021-05-10 15:46:55 +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
update22to30.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
updatedatabase.pl Bug 28108: DBRev 20.12.00.049 2021-05-10 15:52:53 +02:00