In the OPAC, if you edit a list from the list contents view you are redirected to the contents of that same list after you save your changes. In the staff client you are redirected back to the list of lists. The staff client interface should match the OPAC in this case.
Created attachment 20281 [details] [review] Bug 10714 - Redirect to list contents view upon save after initiating edit from list contents view In the staff client, if you initiate a list edit from the list contents view you should be redirected to that same view after saving your changes. The OPAC already works this way. To test, view the contents of an existing list. Click the "Edit list" item under the "Edit" menu. Click save on the list edit form and you should be redirected back to the contents view of that list.
Created attachment 20347 [details] [review] Bug 10714: Redirect to list contents view upon save after initiating edit from list contents view In the staff client, if you initiate a list edit from the list contents view you should be redirected to that same view after saving your changes. The OPAC already works this way. To test, view the contents of an existing list. Click the "Edit list" item under the "Edit" menu. Click save on the list edit form and you should be redirected back to the contents view of that list. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
QA Comment: This works fine if you click Save. But it does not when you click Cancel. I think that if we correct this, we should do that too for Cancel.
Created attachment 25465 [details] [review] Bug 10714 [Follow-up] Redirect to list contents view upon save after initiating edit from list contents view This follow-up corrects the "cancel" action on list edit actions based on whether the edit was initiated from the list of lists or the list contents view. To test, view the list of lists and click the edit link next to one of them. Click the cancel link. You should return to the list of lists you were just viewing. View the contents of a list. Choose "Edit list" from the edit menu. Click the cancel link on the edit screen. You should return to the list contents view from which you initiated the edit action.
Created attachment 25472 [details] [review] Bug 10714: Redirect to list contents view upon save after initiating edit from list contents view In the staff client, if you initiate a list edit from the list contents view you should be redirected to that same view after saving your changes. The OPAC already works this way. To test, view the contents of an existing list. Click the "Edit list" item under the "Edit" menu. Click save on the list edit form and you should be redirected back to the contents view of that list. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 25473 [details] [review] Bug 10714 [Follow-up] Redirect to list contents view upon save after initiating edit from list contents view This follow-up corrects the "cancel" action on list edit actions based on whether the edit was initiated from the list of lists or the list contents view. To test, view the list of lists and click the edit link next to one of them. Click the cancel link. You should return to the list of lists you were just viewing. View the contents of a list. Choose "Edit list" from the edit menu. Click the cancel link on the edit screen. You should return to the list contents view from which you initiated the edit action. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 25485 [details] [review] Bug 10714: Redirect to list contents view upon save after initiating edit from list contents view In the staff client, if you initiate a list edit from the list contents view you should be redirected to that same view after saving your changes. The OPAC already works this way. To test, view the contents of an existing list. Click the "Edit list" item under the "Edit" menu. Click save on the list edit form and you should be redirected back to the contents view of that list. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Created attachment 25486 [details] [review] Bug 10714 [Follow-up] Redirect to list contents view upon save after initiating edit from list contents view This follow-up corrects the "cancel" action on list edit actions based on whether the edit was initiated from the list of lists or the list contents view. To test, view the list of lists and click the edit link next to one of them. Click the cancel link. You should return to the list of lists you were just viewing. View the contents of a list. Choose "Edit list" from the edit menu. Click the cancel link on the edit screen. You should return to the list contents view from which you initiated the edit action. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master. Thanks, Owen!
Pushed to 3.14.x, will be in 3.14.07
Pushed to 3.12.x will be in 3.12.13