]> git.koha-community.org Git - koha.git/commit
Bug 12252: OAI-PMH items respect OpacHiddenItems
authorRobin Sheat <robin@catalyst.net.nz>
Tue, 20 May 2014 05:15:52 +0000 (17:15 +1200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Thu, 17 Sep 2015 14:01:59 +0000 (11:01 -0300)
commit8e2bb13a25b55176fdd397a204a976f37e248e10
tree1f498c393a1136c95c3d8895decaf97ea7597ea6
parent80aa17d266fdaea68a8669f41cab3054cff1b995
Bug 12252: OAI-PMH items respect OpacHiddenItems

This allows the OAI-PMH service to not provide item information when
there is a rule that would supress it in OpacHiddenItems.

Test plan:
* Find an OAI-PMH URL that shows you some items.
* Add an entry to OpacHiddenItems that would block that.
* Check that it's blocked.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
Tested, playing with OpacHiddenItems. GetRecord OAI verb returns a record
complying with OpacHiddenItems rules, for example without items from a specific
library.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Signed-off-by: Gaetan Boisson <gaetan.boisson@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/Biblio.pm