Bug 11759: (QA followup) Sysprefs should be kosher
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Oct 2015 18:19:28 +0000 (15:19 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 20 Oct 2015 13:46:42 +0000 (10:46 -0300)
commit2f02d4b74c6f9784dad1d7db25327b1b8a7bb3f9
treef31a4d4fd3d51502f36d8808736dabdefd5b8d39
parent13bf7b302efbe527d4bdab902f2b06cf70096bc2
Bug 11759: (QA followup) Sysprefs should be kosher

The introduced syspref was defined before we added new guidelines
for them. This patch puts them in sync with current standards. It also
splits them into:

 - A big on/off switch (BatchCheckouts)
 - Patron category filter (BatchCheckoutsValidCategories)

The latter is expected to go away if we move this into a boolean column
on the 'categories' table, which seems a better approach. I'm filling a
new bug for this last comment.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/circulation.pl
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref