]> git.koha-community.org Git - koha.git/commit
Bug 28118: Default to current branch when placing hold
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 12 Apr 2021 19:01:03 +0000 (16:01 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 16 Apr 2021 10:28:17 +0000 (12:28 +0200)
commita7529e1fd9cb5c1022bdfc846756c536284bda3c
treed7a183160ec87eec137f0c15a4f2952d798b620f
parent4e8c014f7a9d779f24ae2e4b8245ffd353dd541c
Bug 28118: Default to current branch when placing hold

During bug 27071 development, this line got inadvertedly changed. This
patch restores the original behaviour.

To test:
1. Search for a title
2. Go try place a hold
=> FAIL: Look at the HTML, there's no pickup location with
selected="selected"
3. Switch branch and repeat 2
=> FAIL: Still the same
4. Apply this patch
5. Repeat 2 and 3
=> SUCCESS: Branch is selected, chosen current branch is picked
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
reserve/request.pl