]> git.koha-community.org Git - koha.git/commit
Bug 6488 - followup - fixes issue with bibs with no items and serials being suppressed
authorLiz Rea <wizzyrea@gmail.com>
Fri, 17 Feb 2012 20:00:53 +0000 (14:00 -0600)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 20:56:48 +0000 (15:56 -0500)
commit3c75824d319e88f9b7f534f42ffecad2170751ae
tree96882da18f0b01ac571837b0784fdb2b69293269
parentc8ad799b3acb64de171e9d01ed29cbb68d5a1abc
Bug 6488 - followup - fixes issue with bibs with no items and serials being suppressed

To test:

* create a bib with no items
* update your index
serial records and your new bib with no items should be displayed.
* add something to the OPACHiddenItems syspref (I like itype: [BK] from the test data)
*** test both ways, with something in there and with the syspref empty.
* add an item to your new bib that would be suppressed
* update your index
* search for the bib
The item should not show
* change the item into a state where it would no longer be suppressed
* update your index
* search for the bib
The item should show in the opac
* just for fun, delete your item
* update your index
* Search for the bib - it should still display.

I tested on MARC21 - please test UNIMARC as well.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 2a8fe16752e12505c55c9f8c08afe97afe460f7b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Search.pm