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.
*** Bug 22635 has been marked as a duplicate of this bug. ***
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.
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>
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>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.05
backported to 18.05.x for 18.05.12