]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 22 Apr 2021 13:57:39 +0000 (15:57 +0200)
commitbaae4b18b1a11dbe4a0b983dbe6e8ce3bcee8d78
treed55ec64d8c6e35378530dec3c568cd90e6eea9a5
parent8d5a3f7564de63b38b96d529d867f1241ea38b83
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>
(cherry picked from commit a7529e1fd9cb5c1022bdfc846756c536284bda3c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
reserve/request.pl