https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24254
Tomás Cohen Arazi <tomasco...@gmail.com> 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 |hide items that that |OpacHiddenItems determines |shouldn't be exposed on |shouldn't be exposed on |public interfaces. |public interfaces. | | |Filtering is governed by | |the following system | |preferences. Two helper | |methods are added to handle | |each of them: | |- | |OpacHiddenItems: | |Koha::Items->filter_out_opa | |chiddenitems is added to | |handle this. | |- | |hidelostitems: | |Koha::Items->filter_out_los | |t is added to handle this. | | | |Some patrons have | |exceptions so | |OpacHiddenItems is not | |enforced on them. That's | |why the new method [1] has | |an optional parameter that | |expects the logged in | |patron to be passed in the | |call. | | | |[1] | |Koha::Items->filter_by_visi | |ble_in_opac CC| |k...@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/