]> git.koha-community.org Git - koha.git/commit
Bug 5144: Duplicate holds allowed if patron clicks back button after placing hold
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 5 Oct 2015 11:50:18 +0000 (07:50 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Oct 2015 13:01:55 +0000 (10:01 -0300)
commit4f4c5e67efc33a974523139b0bc0e57fae9cfc46
treea2fbdfc28e5a1322c0407ece687d144e2b67ea7d
parented5d8e1c5a2b0055853a1331b7f6d3764f81d0f1
Bug 5144: Duplicate holds allowed if patron clicks back button after placing hold

Koha is currently not engineered to handle multiple holds per record.
Until such time that is does, we should not allow them to be created.

Test Plan:
1) Apply this patch
2) Log in to the opac
3) Place a hold
4) Hit the back button on your browser
5) Place the hold again
6) Note the new message

Signed-off-by: David Kuhn <kuhn@monterey.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Reserves.pm
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-reserve.pl
opac/opac-user.pl