]> git.koha-community.org Git - koha.git/commit
Bug 11250: "too many holds" message appears inappropriately
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 2 Jul 2015 09:29:06 +0000 (05:29 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 22 Oct 2015 12:37:49 +0000 (09:37 -0300)
commit95811a29993cd7718e90e4fcb37344a61e000fe4
tree13920fbb7262dc39f569b9e75d9233e51d408833
parent0e9e51db94abdabe6e603d98a05bf315c8d3fa91
Bug 11250: "too many holds" message appears inappropriately

This patch gives the various reasons precedence in this order:
1) Already in possesion
2) Already on hold
3) Age restricted
4) No items available
5) Too many holds

Test Plan:
1) Attempt to place a hold where both "too many holds" and "no items available" messages display
2) Apply this patch
3) Refresh
4) Note only the "no items available" message displays

Signed-off-by: Heather Braum <hbraum@nekls.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt