]> git.koha-community.org Git - koha.git/commit
Bug 7935: Introduce sys pref to control 'browse results' in OPAC
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 9 Apr 2012 19:27:16 +0000 (21:27 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 10 Apr 2012 13:26:37 +0000 (15:26 +0200)
commit47fac215afbedab7bdad9172d1f002488cd35df1
treedab41711d278df30ecef86cd6080b3866da9dea3
parent5d9c7dfe040ca0302095a5641060388b14b9e984
Bug 7935: Introduce sys pref to control 'browse results' in OPAC

Patch introduces a new system preference "OpacBrowseResults" to control
the feature for browsing and paging through results shown on top of the
left menu on detail pages in OPAC.

Preference is activated by default and can be deactivated using the
system preference.

To test:
 - Check database update works correctly
 - Check that browsing and paging still works with after database update
 - Deactivate the feature by setting 'OpacBrowseResults' to 'Disable'
 - Check the feature does no longer show up in OPAC
 - Check that a new installation also has the system preference with correct default

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Auth.pm
installer/data/mysql/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.tt
opac/opac-detail.pl