Main Koha release repository
https://koha-community.org
211defee52
The C4::Circulation::TooMany() function, which determines if a patron is at the maximum loan limit, has been changed to work as follows: 1. Checks the issuing rule that would apply to the prospective loan to see if a loan limit (maxissueqty) has been set. 2. Counts the number of loans that the patron has that would fall under that loan rule. IMPORTANT: that means that if a specific loan rule exists for the branch, patron category, and item type in question, *only* that rule's maxissueqty will be checked here - it will not go on to check whether a less specific rule has a lower loan limit. 3. If adding one more loan would bring that count over the limit, returns a "too many" error. 4. If the loan hasn't exceeded a specific limit, checks whether a branch/patron category circ rule has specified a loan limit, regardless of item type. If the patron has already reached *that* limit, returns the "too many" error. Signed-off-by: Joshua Ferraro <jmf@liblime.com> |
||
---|---|---|
acqui | ||
admin | ||
authorities | ||
C4 | ||
catalogue | ||
cataloguing | ||
circ | ||
errors | ||
etc | ||
install_misc | ||
installer | ||
koha-tmpl | ||
labels | ||
members | ||
misc | ||
opac | ||
reports | ||
reserve | ||
reviews | ||
rss | ||
serials | ||
skel | ||
sms | ||
suggestion | ||
svc | ||
t | ||
tags | ||
tmp/modified_authorities | ||
tools | ||
virtualshelves | ||
.htaccess | ||
about.pl | ||
changelanguage.pl | ||
edithelp.pl | ||
fix-perl-path.PL | ||
help.pl | ||
INSTALL | ||
install-CPAN.pl | ||
INSTALL.debian | ||
INSTALL.fedora7 | ||
kohaversion.pl | ||
LICENSE | ||
mainpage.pl | ||
Makefile.PL | ||
MANIFEST.SKIP | ||
README | ||
rewrite-config.PL |
Koha 3 - the next-generation release of the award-winning Koha open-source integrated library system. 30 December 2007 - Joshua Ferraro <jmf AT liblime DOT com> Koha is distributed under the GNU GPL. Please read the file LICENSE for more details. To install or upgrade Koha, please see the INSTALL file. Please report any bugs to the koha mailing lists or bug tracker and we will try to fix them in a future release. The main koha web site is http://www.koha.org/