If we are advising our librarians to not use the "back" button (which many do), there needs to be a way to get back to a bib detail view from the "edit record" screen. Without using the browser back button, the only way to do it currently is to search for the item again and click through from the results.
We might add a "cancel" split button (split like the "save" button is) with these options: Primary button click -> Return to view (according to BiblioDefaultView pref) - menu option: Cancel and edit items (in case you don't want to save the record before proceeding to items). - menu option: Cancel and view record (same as primary button) We could also do something as simple as making the title in the <h1> a link back to the detail view. If the solution requires a change to the toolbar, it should wait for (or depend on) Bug 9672.
Created attachment 15925 [details] [review] Bug 9534 - No way to get back to bib detail from edit record To test: * Set your BiblioDefaultDisplay to one of the options (go through all three of them) * view a record * click "Edit Record" * you should see a "Cancel" button on the toolbar - click it * you will be redirected back to the detail page, in the default display method you have picked * Click More -> Cataloging * Click the Cancel button * you should be redirected back to the cataloguing home page This patch only applies on top of the patch for bug 9672 as it uses the bootstrap buttons.
* Click More -> Cataloging * Click New Record * Click the Cancel button * you should be redirected back to the cataloguing home page is how that second bit should read. Also, 9672 has been pushed now - so this will apply on master.
Created attachment 16280 [details] [review] Bug 9534 - No way to get back to bib detail from edit record To test: * Set your BiblioDefaultDisplay to one of the options (go through all three of them) * view a record * click "Edit Record" * you should see a "Cancel" button on the toolbar - click it * you will be redirected back to the detail page, in the default display method you have picked * Click More -> Cataloging * Click the Cancel button * you should be redirected back to the cataloguing home page This patch only applies on top of the patch for bug 9672 as it uses the bootstrap buttons. Signed-off-by: Brendan <brendan@bywatersolutions.com>
Good test plan - tested with all views. Cancel button appeared and returned me to the "choosen" view.
Created attachment 17060 [details] [review] [PASSED QA] Bug 9534 - No way to get back to bib detail from edit record To test: * Set your BiblioDefaultDisplay to one of the options (go through all three of them) * view a record * click "Edit Record" * you should see a "Cancel" button on the toolbar - click it * you will be redirected back to the detail page, in the default display method you have picked * Click More -> Cataloging * Click the Cancel button * you should be redirected back to the cataloguing home page This patch only applies on top of the patch for bug 9672 as it uses the bootstrap buttons. Signed-off-by: Brendan <brendan@bywatersolutions.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Tested according to test plan, also with z39.50 overlay from detail page. All tests except for tt_valid and QA script pass. Sending a follow-up to fix that problem.
Created attachment 17061 [details] [review] Bug 9534: Follow-up - Fixing directive inside HTML tag Resolving a construct with a TT directive inside an HTML tag. Fixes xt/tt_valid.t
This patch has been pushed to master.
I think 'BiblioDefaultDisplay' should read 'BiblioDefaultView'