[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
Tue Jun 11 03:47:42 CEST 2013


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

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

--- Comment #7 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 18827
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18827&action=edit
[SIGNED-OFF] 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>

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


More information about the Koha-bugs mailing list