Main Koha release repository https://koha-community.org
Find a file
Galen Charlton 211defee52 bug 2000 - changes to TooMany()
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>
2008-06-20 08:19:08 -05:00
acqui (bugfix, CRI) Permission needed is acquisition, not acquisitionS 2008-05-13 17:40:26 -05:00
admin bug 2000: addition changes to rules editor 2008-06-20 08:19:05 -05:00
authorities kohabug 2112 - add indicators to MARC display 2008-06-12 11:17:44 -05:00
C4 bug 2000 - changes to TooMany() 2008-06-20 08:19:08 -05:00
catalogue Fix for bug 2212: Searching with Itemtype limit doesn't work 2008-06-18 13:57:22 -05:00
cataloguing kohabug 2207 - improve indicator input in MARC editor 2008-06-12 11:17:35 -05:00
circ movin patron flags to template to have translatable strings 2008-06-20 06:12:50 -05:00
errors bug 1803 - fix error page handling 2008-02-18 19:32:07 -06:00
etc Fix for bug 2260: UNIMARC misconfiguratin on itemtype 2008-06-19 08:19:37 -05:00
install_misc add a kinda config file for Makefile.PL 2008-06-16 11:27:21 -05:00
installer bug 2000 - added several circ rules tables (DB rev 090) 2008-06-20 08:18:59 -05:00
koha-tmpl bug 2000: addition changes to rules editor 2008-06-20 08:19:05 -05:00
labels Bugfix patron search for cards/labels related to pagination. 2008-06-17 06:26:44 -05:00
members bug 2264: do not clear patron zipcode and city 2008-06-19 20:45:54 -05:00
misc french translation updated (again) 2008-06-20 06:12:55 -05:00
opac Fix for bug 2212: Searching with Itemtype limit doesn't work 2008-06-18 13:57:22 -05:00
reports Fix date filter on issues_stats. 2008-06-05 22:47:36 -05:00
reserve Report borrower's home library on reserves library mismatch. 2008-03-25 07:20:22 -05:00
reviews granular permissions - updated Tools 2008-04-10 15:53:30 -05:00
rss rel_3_0 moved to HEAD 2007-03-09 15:12:54 +00:00
serials Remove bad use of map in void context, exclusively for side effects! 2008-06-05 22:43:20 -05:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms SMS - widespread cleanup and moving code away from Cyprus/Turkey-specific implementation. Much more needed. 2008-02-06 23:19:30 -06:00
suggestion Adding checks for dateformat preference so that tablesorter script can be passed an extra parameter for proper sorting of metric dates (Bug 2089, dates & table ordering with jquery) 2008-05-12 10:06:32 -05:00
svc bib_profile web svc: report biblioitems.itemtype subfield as non-mandatory 2007-12-04 15:06:05 -06:00
t bug 2000 - add C4::Circulation::GetBranchBorrowerCircRule 2008-06-20 08:19:06 -05:00
tags Bugfix is_approved() to handle the 3-state nature of approval. 2008-06-05 22:41:40 -05:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Fix authentication problem in previous commit; userenv->{} should not be used before check_auth is called. 2008-06-10 08:22:21 -05:00
virtualshelves Shelves consolidation to C4::VirtualShelves::Page. I can tell the consolidation 2008-01-14 16:45:21 -06:00
.htaccess bug 1803 - fix error page handling 2008-02-18 19:32:07 -06:00
about.pl adding some missing packages to about.pl 2008-06-05 22:46:13 -05:00
changelanguage.pl fixing bug 1754: Hide language chooser if only one translation is available 2008-03-17 21:28:31 -05:00
edithelp.pl edithelp.pl - cleanup, refactor and error feedback to user 2008-01-08 14:04:48 -06:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Adding yuipath variable to help.pl, and doing some cleanup of help templates (standardizing structure, mostly, and correcting some nomenclature). 2008-01-09 14:50:20 -06:00
INSTALL adding upgrade instructions to INSTALL and INSTALL.debain 2008-02-21 14:04:47 -06:00
install-CPAN.pl BUGFIX: need to create authors/id if CPAN is unused 2007-09-07 05:26:16 -05:00
INSTALL.debian Adding Fedora installation documentation 2008-04-30 19:47:25 -05:00
INSTALL.fedora7 kohabug 2076 - remove three tables (DB rev 077) 2008-05-01 18:59:28 -05:00
kohaversion.pl bug 2000 - added several circ rules tables (DB rev 090) 2008-06-20 08:18:59 -05:00
LICENSE re-naming some files prior to release 2007-12-30 12:13:39 -06:00
mainpage.pl fixing permissions requirements on mainpage.pl 2008-01-04 21:30:14 -06:00
Makefile.PL Add HTML::Scrubber dependency to Makefile.PL 2008-05-16 08:10:58 -05:00
MANIFEST.SKIP Do not pack the git repository 2007-09-06 17:14:36 -05:00
README adding README 2007-12-30 12:13:57 -06:00
rewrite-config.PL kohabug 1776 - try to locate Zebra during install 2008-04-22 17:59:00 -05:00

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/