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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 4 Apr 2022 14:23:46 +0000 (16:23 +0200)
commit24d1b4edd9301220e101a5209df1f4956272230a
tree606373e1db99e7ce12d06bfec9d043253644ed2e
parentbe67a035be016c9ce6935895600896a2639546bc
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt