Bug 30107: When editing desks default to the branch the desk belongs to
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 9 Mar 2022 18:41:56 +0000 (18:41 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Apr 2022 14:48:48 +0000 (10:48 -0400)
commita4a6797b767a4e106c1e20b426c4cf695a85f101
tree3b44d0f28250876e2186c4ccaf1bfa6db502953f
parent65d51d62aefa330785a54d845c0394f8f97fafe5
Bug 30107: When editing desks default to the branch the desk belongs to

TO test:
1. Turn on UseCirculationDesks
2. Add some desks via Administration > Circulation desks, make several and have them belong to different libraries.
3. Go edit some of those desks and notice the Library: dropdown always defaults to the users logged in branch
4. Apply patch
5. Try editing desk again, now the dropdown should default the library that the desk belongs to.
6. Try making a new desk and make sure it defaults to the logged in branch

Signed-off-by: Séverine Queune <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt