Koha/reserve
Nick Clemens 7cca187cc4 Bug 27885: Populate biblionumbers parameter using biblionumbers array
Currently we send $biblionumbers as the parameter, but this is just apassthrough form when a list of biblios is selected for placing a hold

If passed a single biblionumber we push it into @biblionumbers and use that for building the biblio loop

This patch uses @biblionumbers to avoid sending a blank variable in the URL

To test:
1 - On the staff client click 'place hold' for an individual record
2 - Use the form to find a patron
3 - Note the url is:
    http://localhost:8081/cgi-bin/koha/reserve/request.pl?biblionumbers=
4 - Apply patch
5 - Repeat
6 - The url is now like:
    http://localhost:8081/cgi-bin/koha/reserve/request.pl?biblionumbers=248
    (but with whatever biblionumber you chose)
7 - Perform a search and select multiple biblios and confirm you can place holds as before

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

JD Amended patch: Add missing space

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-07-30 10:25:32 -04:00
..
modrequest.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
modrequest_suspendall.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
placerequest.pl Bug 28338: Default to holding branch to save clicks 2021-06-18 09:41:34 -04:00
request.pl Bug 27885: Populate biblionumbers parameter using biblionumbers array 2021-07-30 10:25:32 -04:00