After deleting a job item, the module sends the users to the next available job item (from the listing page) rather than sending the user back to the actual job listing page.

1. I list inactive items on /admin/tmgmt/job_items?state=2&source_language=All&target_language=All
2. I select a job item that I want to delete
3. I am taken to the page: /admin/tmgmt/items/73/delete (for example)
4. I confirm by clicking Delete
5. I am sent to the next job items in the list to delete: /admin/tmgmt/jobs/63

Instead, on step 5 it should load the listing page again with the same filter applied /admin/tmgmt/job_items?state=2&source_language=All&target_language=All

Comments

andrewsuth created an issue.

Berdir’s picture

You can get that if you enable the "Include destination" checkbox in the view. Not sure about enabling that by default since it will also affect other operations like view/review.

#2767857: Add destination to edit, delete, enable, disable links in entity list builders would have the same effect but just for the delete operation