Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 14385: Extend OpacHiddenItems to allow specifying exempt borrower categories 2018-11-02 10:33:09 +00:00
searchengine/elasticsearch Bug 10442: Remove references to non-standard "error" class 2018-10-31 13:34:02 +00:00
admin-home.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
aqbudgetperiods.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
aqbudgets.tt Bug 10442: Remove references to non-standard "error" class 2018-10-31 13:34:02 +00:00
aqcontract.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
aqplan.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
audio_alerts.tt Bug 20736: Update two-column templates with Bootstrap grid, Administration part 1 2018-08-30 13:40:32 +00:00
auth_subfields_structure.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
auth_tag_structure.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
authorised_values.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
authtypes.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
biblio_framework.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
branch_transfer_limits.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
branches.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
categories.tt Bug 21669: Do not html filter TT assignement statements 2018-10-26 16:38:36 +00:00
checkmarc.tt Bug 20739: Update two-column templates with Bootstrap grid, Administration part 3 2018-08-30 13:40:33 +00:00
cities.tt Bug 20739: Update two-column templates with Bootstrap grid, Administration part 3 2018-08-30 13:40:33 +00:00
classsources.tt Bug 20739: Update two-column templates with Bootstrap grid, Administration part 3 2018-08-30 13:40:33 +00:00
clone-rules.tt Bug 20739: Update two-column templates with Bootstrap grid, Administration part 3 2018-08-30 13:40:33 +00:00
columns_settings.tt Bug 21216: Add filter/search options to notices table 2018-10-24 13:38:48 +00:00
currency.tt Bug 20740: Update two-column templates with Bootstrap grid, Administration part 4 2018-08-30 13:40:34 +00:00
didyoumean.tt Bug 20740: Update two-column templates with Bootstrap grid, Administration part 4 2018-08-30 13:40:34 +00:00
edi_accounts.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
edi_ean_accounts.tt Bug 21417: (QA follow-up) Display default EAN as such in admin display 2018-10-09 11:54:08 +00:00
fieldmapping.tt Bug 20741: Update two-column templates with Bootstrap grid: Administration part 5 2018-09-06 12:18:32 +00:00
item_circulation_alerts.tt Bug 20741: Update two-column templates with Bootstrap grid: Administration part 5 2018-09-06 12:18:32 +00:00
items_search_field.tt Bug 20740: Update two-column templates with Bootstrap grid, Administration part 4 2018-08-30 13:40:34 +00:00
items_search_fields.tt Bug 20740: Update two-column templates with Bootstrap grid, Administration part 4 2018-08-30 13:40:34 +00:00
itemtypes.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
koha2marclinks.tt Bug 20741: Update two-column templates with Bootstrap grid: Administration part 5 2018-09-06 12:18:32 +00:00
library_groups.tt Bug 21186: (follow-up) Incorrect Bootstrap modal event name in multiple templates 2018-10-29 00:31:51 +00:00
localization.tt Bug 20741: Update two-column templates with Bootstrap grid: Administration part 5 2018-09-06 12:18:32 +00:00
marc_subfields_structure.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
marctagstructure.tt Bug 21704: (follow-up) Remove unused 'frameworkcode' template param 2018-10-29 00:17:33 +00:00
matching-rules.tt Bug 21669: Do not html filter TT assignement statements 2018-10-26 16:38:36 +00:00
oai_set_mappings.tt Bug 20742: Update two-column templates with Bootstrap grid: Administration part 6 2018-09-06 12:43:20 +00:00
oai_sets.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
overdrive.tt Bug 21082: (RM follow-up) address QA issues 2018-10-09 11:04:24 +00:00
patron-attr-types.tt Bug 21669: Do not html filter TT assignement statements 2018-10-26 16:38:36 +00:00
preferences.tt Bug 20742: (RM follow-up) Fix menu include 2018-09-06 16:54:06 +00:00
printers.tt Bug 20743: Update two-column templates with Bootstrap grid: Administration part 7 2018-09-06 16:54:06 +00:00
smart-rules.tt Bug 15486: Make circ rules UI handle holds_per_day 2018-10-24 13:24:05 +00:00
sms_providers.tt Bug 20743: Update two-column templates with Bootstrap grid: Administration part 7 2018-09-06 16:54:06 +00:00
sru_modmapping.tt Bug 20743: Update two-column templates with Bootstrap grid: Administration part 7 2018-09-06 16:54:06 +00:00
sru_modmapping_auth.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
systempreferences.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
transport-cost-matrix.tt Bug 21279: Fix &nbsp; in transport cost matrix 2018-10-15 13:08:04 +00:00
usage_statistics.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
z3950servers.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00