Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Chris Cormack 5e4e10c4ca Bug 14385: Extend OpacHiddenItems to allow specifying exempt borrower categories
Edit: Fixing merge conflicts in
 - t/db_dependent/Items.t
 - t/db_dependent/Search.t
 - C4/Search.pm

Changes the API for calling GetHiddenItems and all the places in the code that call it. This is to allow borrower categories to be passed in.
Adds an OpacHiddenItemsExceptions syspref to allow certain borrower categories to be able to see items, even if they are marked hidden by OpacHiddenItems

To test:

1) Make two borrowers, one in a category that should see everything (ie Adult), and another in a category that should only see certain things (ie Adult - exceptions)
2) Add the borrower that can see everything (the Adult) to OpacHiddenItemsExceptions
3) To the OpacHiddenItems syspref, add an item type (ensure that you have some records that fall under this type in your library).
4) Log in as the borrower that should only see certain things (Adult - exception)
5) Do a search, filtered to show records which are the item type that you specified in the OpacHiddenItems syspref. No records should show for this borrower as this item type is hidden to them.
6) Log in as the borrower that should see everything (Adult)
7) Do the same search. There should be results from this search, as this borrower category has been specified as an exception to the hidden items

Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-11-02 10:33:09 +00:00
..
acquisitions.pref Bug 19289: Use the ACQ framework to display bibliographic details 2018-04-11 16:45:20 -03:00
admin.pref
authorities.pref Bug 19833: Changing the "biblios" - most of admin 2018-09-19 13:54:44 +00:00
cataloguing.pref Bug 12747: (QA follow-up) Rephrase system preference description 2018-10-01 13:56:27 +00:00
circulation.pref Bug 14786: Use MARC istead of ISO2709 everywhere 2018-10-17 13:55:19 +00:00
enhanced_content.pref Bug 21082: Database updates 2018-10-09 11:04:22 +00:00
i18n_l10n.pref Bug 20115: Add information about this feature in the pref descriptions 2018-04-04 15:45:44 -03:00
local_use.pref
logs.pref
opac.pref Bug 14385: Extend OpacHiddenItems to allow specifying exempt borrower categories 2018-11-02 10:33:09 +00:00
patrons.pref Bug 21625: Fix wording and typo in SMSSendDriver system preference description 2018-10-24 12:46:45 +00:00
searching.pref Bug 20758: Fix for BrowseResultSelection typo 2018-10-26 16:12:46 +00:00
serials.pref Bug 19833: Changing the "biblios" - most of admin 2018-09-19 13:54:44 +00:00
staff_client.pref Bug 20291: Add a StaffLoginInstructions preference for adding text to staff client login 2018-04-02 18:08:07 -03:00
tools.pref
web_services.pref Bug 19833: (follow-up) Minor corrections 2018-09-19 13:56:18 +00:00