[Koha-bugs] [Bug 10247] Too many reserves due to syspref does not show warning

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 21 15:40:40 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10247

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18827|0                           |1
        is obsolete|                            |

--- Comment #8 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 19190
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19190&action=edit
Bug 10247 - Too many reserves due to syspref does not show warning

On intranet, when placing a reserve :
If borrower as reached the reserves quota, a warning should appear :
  Cannot place hold
  * Too Many Holds: TEST has too many holds.

This works when quota defined in circulation rules is reached but not when
quota specified in syspref maxreserves is reached, in case this quota is lower
than the one defined is circulation rules.

This is because template param maxreserves is set twice, this patch corrects
this bug.
Also moves warnings and messages conditionnal variable from perl to template
because it cause the same bug as for maxreserves.

Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list