]> git.koha-community.org Git - koha.git/commit
Bug 9206 - Only allow place holds in records that the patron don't have in his possession
authorVitor FERNANDES <vfernandes@keep.pt>
Tue, 4 Dec 2012 15:57:35 +0000 (15:57 +0000)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 27 Dec 2012 14:48:03 +0000 (09:48 -0500)
commit63f2ceb603b722b04b4cf6f2c2fc6bb8e4ff4f6b
treec39c59c7fa5be7e0dbb6c697d6f3c18f1cb02ebd
parent8ce80b9ad4e30d95193a3dd086138e571089aa0b
Bug 9206 - Only allow place holds in records that the patron don't have in his possession

Added a system preference to turn on/off this feature.
By default the system allow the patron to place holds even if it is in his possession.
Script to place holds check if the system preference is off and if patron has at least one item to block holds.
Messages to say that are already in patron possession added to templates.
Method to check if patron has one issue from one record added to C4::Circulation

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Circulation.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
opac/opac-reserve.pl
reserve/request.pl