]> git.koha-community.org Git - koha.git/commit
Bug 10876: Fix opac-MARCdetail.pl displaying items that are meant to be hidden
authorMark Tompsett <mtompset@hotmail.com>
Fri, 13 Sep 2013 10:47:15 +0000 (06:47 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 18 Sep 2013 16:03:45 +0000 (16:03 +0000)
commitf072cbdf9bf35a44364c5374b8284c0583f4e262
treeb1d2873531d55acb286796c22372b028f460765a
parent5d8ad739293ef8cf22a808404e52a9c74275aaf0
Bug 10876: Fix opac-MARCdetail.pl displaying items that are meant to be hidden

When OpacHiddenItems is used to hide some, but not all of the
items for a biblio, then the opac-MARCdetail page displayed
all the items, rather than just the ones intended to be visible.

By determining the tag and subtag for items.itemnumber, the
loop which builds the big array can be filtered to exclude
records that should be hidden.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Works as expected, passes koha-qa also.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
opac/opac-MARCdetail.pl