https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24254
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This patch introduces an |This patch introduces an release notes|efficient way of filtering |efficient way of filtering |Koha::Items result sets, to |Koha::Items result sets, to |hide items that that |hide items that shouldn't |shouldn't be exposed on |be exposed on public |public interfaces. |interfaces. | | |Filtering is governed by |Filtering is |the following system |governed by the following |preferences. A helper |system preferences. A |method is added to handle |helper method is added to |lost items: |handle lost items: |- |- |hidelostitems: |hidelostitems: |Koha::Items->filter_out_los |Koha::Items->filter_out_los |t is added to handle this. |t is added to handle this. | | |Some patrons have |Some patrons have |exceptions so |exceptions so |OpacHiddenItems is not |OpacHiddenItems is not |enforced on them. That's |enforced on them. That's |why the new method [1] has |why the new method [1] has |an optional parameter that |an optional parameter that |expects the logged in |expects the logged in |patron to be passed in the |patron to be passed in the |call. |call. | | |[1] |[1] |Koha::Items->filter_by_visi |Koha::Items->filter_by_visi |ble_in_opac |ble_in_opac -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
