Hi, When we consult an authority in the authorities module, it would be nice too stay in the tab that are actually open when we switch to edit mode. Currently when you consult an authority notice and you open a tab (for exemple the tab 2) if you switch to the edit mode we will automaticaly arrive at the record in edit mode but with tab "0" open. Patrick.
Created attachment 106852 [details] [review] Bug 20154: Stay in the open tab when editing authority record This patch adds some JavaScript to the authority record detail page in the staff interface so that clicking "Edit" will take you to the authority edit page while keeping the same tab open. To test, apply the patch and locate an authority record in your catalog. - Click any of the numbered tabs besides tab 0. - Choose "Edit record" from the "Edit" dropdown menu. - When the authorities edit page loads the same tab should be preselected.
Created attachment 106966 [details] [review] Bug 20154: Stay in the open tab when editing authority record This patch adds some JavaScript to the authority record detail page in the staff interface so that clicking "Edit" will take you to the authority edit page while keeping the same tab open. To test, apply the patch and locate an authority record in your catalog. - Click any of the numbered tabs besides tab 0. - Choose "Edit record" from the "Edit" dropdown menu. - When the authorities edit page loads the same tab should be preselected. Signed-off-by: Marjorie <marjorie.barry-vila@collecto.ca>
Hi Marjorie, the sandboxes don't update the bug status - please remember to switch to "signed off" :)
(In reply to Katrin Fischer from comment #3) > Hi Marjorie, the sandboxes don't update the bug status - please remember to > switch to "signed off" :) oups! thanks! Marjorie
Created attachment 108022 [details] [review] Bug 20154: Stay in the open tab when editing authority record This patch adds some JavaScript to the authority record detail page in the staff interface so that clicking "Edit" will take you to the authority edit page while keeping the same tab open. To test, apply the patch and locate an authority record in your catalog. - Click any of the numbered tabs besides tab 0. - Choose "Edit record" from the "Edit" dropdown menu. - When the authorities edit page loads the same tab should be preselected. Signed-off-by: Marjorie <marjorie.barry-vila@collecto.ca> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x