Bug 14358

Summary: Changing the module refreshes the page and resets library choice
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: NoticesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: kelly, lucas, martin.renvoize, nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
19.05.00, 18.11.05
Attachments: Bug 14358: Changing the module refreshes the page and resets library choice
Bug 14358: Changing the module refreshes the page and resets library choice
Bug 14358: Changing the module refreshes the page and resets library choice

Description Katrin Fischer 2015-06-07 10:02:21 UTC
This behaviour was originally described on bug 10702.

Whenever you change the module setting for a notice, the page reloads and your chosen branch is reset to all libraries.

Owen made some suggestions about how we can fix this:

- Use Ajax to reload only the field list as Jonathan suggests
- Convert the "New notice" button to a menu which lists the possible
  module choices
- Add an intermediate step where you must submit a module choice
  before rest of the form displays.
Comment 1 Katrin Fischer 2019-04-03 22:05:39 UTC
*** Bug 22635 has been marked as a duplicate of this bug. ***
Comment 2 Owen Leonard 2019-04-04 14:15:50 UTC
Created attachment 87417 [details] [review]
Bug 14358: Changing the module refreshes the page and resets library choice

This patch makes an incremental change towards fixing Bug 14358: The
"New notice" button is converted to a dropdown button which asks the
user to select a module to start with.

To test, apply the patch and go to Tools -> Notices. Test the "New
notice" button and confirm that module selections are reflected in the
notice add form you are shown.
Comment 3 Mikaël Olangcay Brisebois 2019-04-05 18:06:28 UTC
Created attachment 87458 [details] [review]
Bug 14358: Changing the module refreshes the page and resets library choice

This patch makes an incremental change towards fixing Bug 14358: The
"New notice" button is converted to a dropdown button which asks the
user to select a module to start with.

To test, apply the patch and go to Tools -> Notices. Test the "New
notice" button and confirm that module selections are reflected in the
notice add form you are shown.

Signed-off-by: Mikaël Olangcay Brisebois <mikael.olangcay-brisebois@inLibro.com>
Comment 4 Katrin Fischer 2019-04-06 09:50:36 UTC
Created attachment 87466 [details] [review]
Bug 14358: Changing the module refreshes the page and resets library choice

This patch makes an incremental change towards fixing Bug 14358: The
"New notice" button is converted to a dropdown button which asks the
user to select a module to start with.

To test, apply the patch and go to Tools -> Notices. Test the "New
notice" button and confirm that module selections are reflected in the
notice add form you are shown.

Signed-off-by: Mikaël Olangcay Brisebois <mikael.olangcay-brisebois@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Nick Clemens 2019-04-11 13:53:41 UTC
Awesome work all!

Pushed to master for 19.05
Comment 6 Martin Renvoize 2019-04-15 17:37:57 UTC
Pushed to 18.11.x for 18.11.05
Comment 7 Lucas Gass 2019-04-17 22:14:21 UTC
backported to 18.05.x for 18.05.12