Koha/koha-tmpl/intranet-tmpl/prog
Katrin Fischer 02adde9a43 Bug 24370: Don't reset library when editing a suggestion
When editing a suggestion, the library will be reset to the currently
logged in librarian's homebranch, no matter what the libray was before.

This fixes this, the library selection will remain at the db value when
edited.

To test:
- Create a suggestion with Any library.
- Edit the suggestion - it will show your homebranch as library
- Change to any library but your homebranch
- The summary should show the correct value after saving
- Edit the suggestoin again - it's set back to your homebranch again
- Apply patch
- Repeat the steps, the pull down should now show the correct library
  at all times.

Caveat: I think there is a somewhat separate issue/bug in that once a library
was saved, you cannot switch back to "Any". I haven't been able to fix this and
suggest to maybe file a separate bug.

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-02 14:57:04 +01:00
..
css Bug 11175: Display components in own tab 2021-10-26 16:46:02 +02:00
en Bug 24370: Don't reset library when editing a suggestion 2021-11-02 14:57:04 +01:00
img Bug 28321: Use template block for display of items in search results 2021-10-05 10:58:13 +02:00
js Bug 29278: Fix selector of hint used to show age 2021-10-25 13:56:35 +02:00
pdf Bug 5016: Fix some translation issues with English PDF order templates 2020-02-19 11:26:41 +00:00
sound