Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 10442: Remove references to non-standard "error" class 2018-10-31 13:34:02 +00:00
admin Bug 14385: Extend OpacHiddenItems to allow specifying exempt borrower categories 2018-11-02 10:33:09 +00:00
authorities Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
basket Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
batch
catalogue Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
cataloguing Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
circ Bug 21186: (follow-up) Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:51 +00:00
clubs Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
common Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
course_reserves Bug 21349: Instructors with special characters in cardnumber cannot be removed from course reserves 2018-10-29 00:35:41 +00:00
errors Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
ill Bug 20996: (follow-up) Fix column name expectation 2018-11-02 10:33:05 +00:00
installer Bug 19833: Kill all the "bibilos" - final couple 2018-09-19 13:54:43 +00:00
labels Bug 21526: (RM follow-up) Fix merge markers and a few extra filters 2018-10-26 19:43:20 +00:00
members Bug 10442: Remove references to non-standard "error" class 2018-10-31 13:34:02 +00:00
offline_circ Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
onboarding
patron_lists Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
patroncards Bug 21526: (RM follow-up) Fix merge markers and a few extra filters 2018-10-26 19:43:20 +00:00
plugins Bug 10442: Remove references to non-standard "error" class 2018-10-31 13:34:02 +00:00
reports Bug 21526: (QA follow-up) Fix all the tabs 2018-10-26 17:09:58 +00:00
reserve Bug 20450: (follow-up) Add missing template filters 2018-10-27 14:20:58 +00:00
reviews Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
rotating_collections Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
serials Bug 21526: (RM follow-up) Fix merge markers and a few extra filters 2018-10-26 19:43:20 +00:00
services
suggestion Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
tags Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
test
tools Bug 21186: Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:50 +00:00
virtualshelves Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
about.tt Bug 20996: Remove prefix use of borrower category 2018-11-02 10:33:02 +00:00
auth.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
intranet-main.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00