https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28541 --- Comment #2 from Joonas Kylmälä <joonas.kylmala@helsinki.fi> --- I think I found a solution: Let's similary fetch the possible pickup locations like we do in request.tt:
[% PROCESS options_for_libraries libraries => Branches.pickup_locations({ search_params => { biblio => biblionumber, patron => patron }, selected => pickup }) %]
And if the request.pl gets called without a pickup location then let's call Koha::Template::Plugin::Branches::pickup_locations($biblionumber, $patron) to get one. This gets a valid pickup location selected in the holds page and if the branch is wrong the user can change it. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.