[Koha-bugs] [Bug 6385] All items should optionally be displayed by default in the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 29 09:59:45 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6385

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22471|0                           |1
        is obsolete|                            |

--- Comment #5 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 22510
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22510&action=edit
Bug 6385 - All items should optionally be displayed by default in the OPAC

Added a system preference "OPACmaxItemsOnDetail" to set a threshold after which
only results from the
users branch are displayed, or Items from the past year if homebranch cannot be
defined.

This tightly couples with bug 11129 which provides the filtering mechanism to
display smaller result sets.
Also added lots of complexity to define the warning messages based on is the
filter used to override the
"OPACmaxItemsOnDetail".

Added a new "limit"-filter to C4::Items::GetItemsInfo() which adds the
LIMIT-clause to the big SQL.
Added a unit test for the filter to the Items.t

Fixed a use-case where a user has no items in his branch, and the limited items
set is emtpy.
Now using items from past year if none available in the users branch.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list