[Koha-bugs] [Bug 10876] opac-MARCdetail.pl display items intended for hiding

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 11 15:03:45 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10876

--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 20985
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20985&action=edit
Bug 10876 - MARC view displays what should be hidden

The opac/opac-MARCdetail.pl file is what is viewed when "MARC
view" is clicked while viewing a specific search result. Items
hidden on opac/opac-detail.pl based on OpacHiddenItems are
shown! This should not happen. I believe this bug goes back
several versions, not just master.

While coding this, a lack of use or require in C4::Items was
discovered. See bug 10872.

By adding calls to GetItemsInfo and GetHiddenItems, a filter
on the items is placed. As this is processing MARC data,
GetMarcFromKohaField was used to properly determine what the
item number (952$9) is.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list