[Bug 10589] Override OpacHiddenItems based on Patron Category
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10589 --- Comment #38 from M. Tompsett <mtompset@hotmail.com> --- Okay... thoughts on a rework include: GetHiddenItems in C4::Items would be removed. This would lead to a refactor EmbedItemsInMarcBiblio to NOT have an fourth parameter $opac as all the filtering will be done by the OPAC modules hooking into the filtering logic created by bug 11592 and the use of a new OpacHiddenItems filter. This trigger removing tests from t/db_dependent/Items.t, but also new tests to test the OpacHiddenItems filter would be added to replace those. Additionally, the GetHiddenItems logic in the detail pages would be supplemented/replaced by logic in the OpacHiddenItems filter which would delete the biblio completely if all the items were hidden. Comparing filtered and unfiltered records could be used to determine what to do in the detail pages. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org