]> git.koha-community.org Git - koha.git/commit
Bug 5551 - allow shelf browser filters to be changed
authorRobin Sheat <robin@catalyst.net.nz>
Fri, 14 Jan 2011 02:22:14 +0000 (15:22 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 20 Jan 2011 22:08:42 +0000 (11:08 +1300)
commit1bf3dd45df0394f8b3bc2b91e79b66acb7593940
tree59d827e3604ed966e8e5bb87111f33892ae508a2
parent434d9a3c66c54c028c971a0bd59312d099ba358a
Bug 5551 - allow shelf browser filters to be changed

This adds three system preferences: ShelfBrowserUsesLocation,
ShelfBrowserUsesHomeBranch, and ShelfBrowserUsesCcode. These can be
toggled to determine whether the shelf browser will ensure that the
items being show will match against location, homebranch, or collection
code, respectively.

Note that this also involves a bit of a refactor to clean up the shelf
browser code.

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/ShelfBrowser.pm [new file with mode: 0644]
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
opac/opac-detail.pl