https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24254
Martin Renvoize <[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 that |shouldn't be exposed on |shouldn't be exposed on |public interfaces. |public interfaces. | | |Filtering is governed by |Filtering is governed by |the following system |the following system |preferences. Two helper |preferences. A helper |methods are added to handle |method is added to handle |each of them: |lost items: |- |- |OpacHiddenItems: |hidelostitems: |Koha::Items->filter_out_opa |Koha::Items->filter_out_los |chiddenitems is added to |t is added to handle this. |handle this. | |- |Some patrons have |hidelostitems: |exceptions so |Koha::Items->filter_out_los |OpacHiddenItems is not |t is added to handle this. |enforced on them. That's | |why the new method [1] has |Some patrons have |an optional parameter that |exceptions so |expects the logged in |OpacHiddenItems is not |patron to be passed in the |enforced on them. That's |call. |why the new method [1] has | |an optional parameter that |[1] |expects the logged in |Koha::Items->filter_by_visi |patron to be passed in the |ble_in_opac |call. | | | |[1] | |Koha::Items->filter_by_visi | |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/
