From 02adde9a43972c042f61c9ff17fe4684f0d9965d Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 5 Oct 2020 17:23:31 +0000 Subject: [PATCH] Bug 24370: Don't reset library when editing a suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 21dd043e47..df606aab7f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -580,7 +580,7 @@
  • -- 2.39.5