]> git.koha-community.org Git - koha.git/commit
Bug 16151: Restore the ability to place holds from lists at the OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 29 Mar 2016 07:14:33 +0000 (08:14 +0100)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Tue, 29 Mar 2016 22:34:09 +0000 (22:34 +0000)
commit1ae64b97b39f5554e2d2360de9582a3e445854c5
tree9e479e15ed85705c4f736cf7a73043ddb51fcba1
parentc75271a741632b4aa9af0c6c342cdbf1c77e699f
 Bug 16151: Restore the ability to place holds from lists at the OPAC

This patch fixes a bug introduced by bug 14544.
Holds can not be placed from lists at the OPAC, the action results in a
crash:
Can't call method "field" on an undefined value at
/home/koha/src/C4/Items.pm line 1504.
 at /home/koha/src/opac/opac-reserve.pl line 601

Before 14544, the checkboxes were named 'ACT-$BIBNUM', something like
REM-4242. Now we can retrieve the biblionumber from the value.

Test plan:
Select a public list
check some titles and click on the 'Place hold' link
you should able to process the reservation

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt