https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20732
--- Comment #20 from David Nind <[email protected]> --- Created attachment 212353 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212353&action=edit Bug 20732: (followup) Compare OPACHideHoldingsTabItemTypes against raw biblioitems.itemtype values GetBiblioData() LEFT JOINs biblioitems to the itemtypes table, so $dat->{itemtype} holds the itemtypes table code (NULL when biblioitems.itemtype is not an itemtypes code). As a result, records whose biblioitems.itemtype comes from another authorised value list (e.g. TYPEDOC: LIVR, MUS) never matched the system preference and the Holdings tab was still displayed (Mantis 55493). Compare the preference against the raw biblioitems.itemtype values of the record instead, and add a Cypress regression test covering this case. Assisted-by: Mistral Vibe <[email protected]> Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
