[Koha-bugs] [Bug 24254] Add Koha::Items->filter_by_visible_in_opac
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 25 15:53:37 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24254
Jonathan Druart <jonathan.druart+koha at 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 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.
More information about the Koha-bugs
mailing list