Adds a generic ->selected() to Koha::Library so the Koha::Object can be transparently used with Template::Toolkit to distinguish the currently selected library from a list of other libraries in a <select> -html element.
Speaking specifically about: [% PROCESS options_for_libraries libraries => branches %]
Created attachment 91603 [details] [review] Bug 23343 - Koha::Library->selected() Adds a generic ->selected() to Koha::Library so the Koha::Object can be transparently used with Template::Toolkit to distinguish the currently selected library from a list of other libraries in a <select> -html element. Sponsored-by: The National Library of Finland
What you are looking for is options_for_libraries from html_helpers.inc.
(In reply to Jonathan Druart from comment #3) > What you are looking for is options_for_libraries from html_helpers.inc. Should this be closed then?