In Bug 34227 - Add persistent selections and batch operations to item search, selections from item searches are retained across item searches until they are manually cleared. This has proven to be confusing for our branch staff, and ideally this would be something that could be opted in or out of. A potential use case is that a branch staff member may run an item search of all items in a shelf location, select several, and export a list of those items for someone to pull from the shelf. The branch staff member then does another item search with different criteria, then batch edits them to mark them missing. It is easy for them not to notice the additional selections or to forget to clear them, resulting in items edited by mistake.
Created attachment 185476 [details] [review] Bug 38438: Forget item selections on a new search This patch adds a new checkbox to the item search "Forget item selections from previous search" This way, selections are remembered when paginating, and can optionally be kept between searches, but defaults to clearing the storage on a enw search. To test: 1 - Do an item search for books, select two items 2 - Batch modify those items 3 - Do a new item search for music 4 - Select two items 5 - Batch delete them 6 - Note 4 items are going to be deleted 7 - Apply patch 8 - Start a new item search for books from centerville 9 - Note the form option to forget previous selections, leave it checked 10 - Do the search, select two items, batch modify, only 2! 11 - Start a new item search, uncheck the box, search 12 - Select two and batch modify, 4 items are sent! 13 - Popcorn!
Created attachment 185626 [details] [review] Bug 38438: Forget item selections on a new search This patch adds a new checkbox to the item search "Forget item selections from previous search" This way, selections are remembered when paginating, and can optionally be kept between searches, but defaults to clearing the storage on a enw search. To test: 1 - Do an item search for books, select two items 2 - Batch modify those items 3 - Do a new item search for music 4 - Select two items 5 - Batch delete them 6 - Note 4 items are going to be deleted 7 - Apply patch 8 - Start a new item search for books from centerville 9 - Note the form option to forget previous selections, leave it checked 10 - Do the search, select two items, batch modify, only 2! 11 - Start a new item search, uncheck the box, search 12 - Select two and batch modify, 4 items are sent! 13 - Popcorn!