]> git.koha-community.org Git - koha.git/commit
Bug 22694: Add Koha::Patron::Category->override_hidden_items
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 23 Apr 2019 14:49:28 +0000 (15:49 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Apr 2019 10:51:26 +0000 (10:51 +0000)
commit0a22e3127d90c9d76734b223523e0635b18cb32d
treef989549ce5f9ca4f706d18f94e7b1f3fe2314d05
parente3b68414373ee23418a6dc3ce10e859ae8fb66b8
Bug 22694: Add Koha::Patron::Category->override_hidden_items

This patch introduces a method to determine for a given category if
patrons belonging to it override OpacHiddenItems policies.

To test:
- Apply the patches
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Patron/Category.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Bin Wen <bin.wen@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Patron/Category.pm