https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28541

--- Comment #2 from Joonas Kylmälä <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to