Bug 40114

Summary: Can't select new library when editing a desk
Product: Koha Reporter: Owen Leonard <oleonard>
Component: System AdministrationAssignee: Owen Leonard <oleonard>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: esther.melander, gmcharlt
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 40113    
Attachments: Bug 40114: Can't select new library when editing a desk

Description Owen Leonard 2025-06-10 18:41:51 UTC
When editing a desk, the "Library" <select> only includes one option, the existing value.
Comment 1 Owen Leonard 2025-06-10 18:46:22 UTC
Created attachment 183147 [details] [review]
Bug 40114: Can't select new library when editing a desk

This patch fixes selection of a library when editing a desk in
Administration. The form should provide all libraries as options, not
just the currently selected one.

To test, apply the patch and go to Administration -> Desks.

- If necessary, create a new desk.
- Edit the desk. The form should load with the correct library prefilled
  in the <select>, but should offer all libraries as a choices.

Sponsored-by: Athens County Public Libraries
Comment 2 Esther Melander 2025-06-11 16:20:51 UTC
The test plan appeared to work.

Signed off by: Esther Melander <esther@bywatersolutions.com>