I think it would be useful to be able to pass checked patron search results to batch patron modification without going through the step of adding them to a list.
Created attachment 146641 [details] [review] Bug 28366: Add batch patron modification to patron search results This patch adds the ability to send selected patrons for batch modification. It does this by adding a hidden form which is populated from the borrowernumbers stored in the browser's localStorage when selections are made. To test, apply the patch and perform a patron search in the staff client which will return multiple pages of results. - Select a patron on the first page of results. - The "Add to patron list" and "Batch patron modification" buttons should become active, and the "Patrons selected" box should show "1" - After checking another checkbox the "Merge selected patrons" button should activate and the "selected" count should increment. - Test making selections on other pages of results. The "selected" count should continue to increment. - Test the "Batch patron modification" button, confirming that all the patrons you selected are correctly passed to the batch patron modification tool. - Test that the "Clear" control works correctly to clear all checkboxes and disable all other buttons. - Test that the "Select all" and "Clear all" controls work correctly, enabling all buttons and correctly incrementing the "selected" count.
(In reply to Owen Leonard from comment #1) > Created attachment 146641 [details] [review] [review] > Bug 28366: Add batch patron modification to patron search results > > This patch adds the ability to send selected patrons for batch > modification. It does this by adding a hidden form which is populated > from the borrowernumbers stored in the browser's localStorage when > selections are made. > > To test, apply the patch and perform a patron search in the staff client > which will return multiple pages of results. > > - Select a patron on the first page of results. > - The "Add to patron list" and "Batch patron modification" buttons > should become active, and the "Patrons selected" box should show "1" > - After checking another checkbox the "Merge selected patrons" button > should activate and the "selected" count should increment. > - Test making selections on other pages of results. The "selected" count > should continue to increment. > - Test the "Batch patron modification" button, confirming that all the > patrons you selected are correctly passed to the batch patron > modification tool. > - Test that the "Clear" control works correctly to clear all checkboxes > and disable all other buttons. > - Test that the "Select all" and "Clear all" controls work correctly, > enabling all buttons and correctly incrementing the "selected" count. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Created attachment 147979 [details] [review] Bug 28366: Add batch patron modification to patron search results This patch adds the ability to send selected patrons for batch modification. It does this by adding a hidden form which is populated from the borrowernumbers stored in the browser's localStorage when selections are made. To test, apply the patch and perform a patron search in the staff client which will return multiple pages of results. - Select a patron on the first page of results. - The "Add to patron list" and "Batch patron modification" buttons should become active, and the "Patrons selected" box should show "1" - After checking another checkbox the "Merge selected patrons" button should activate and the "selected" count should increment. - Test making selections on other pages of results. The "selected" count should continue to increment. - Test the "Batch patron modification" button, confirming that all the patrons you selected are correctly passed to the batch patron modification tool. - Test that the "Clear" control works correctly to clear all checkboxes and disable all other buttons. - Test that the "Select all" and "Clear all" controls work correctly, enabling all buttons and correctly incrementing the "selected" count. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Created attachment 148688 [details] [review] Bug 28366: Add batch patron modification to patron search results This patch adds the ability to send selected patrons for batch modification. It does this by adding a hidden form which is populated from the borrowernumbers stored in the browser's localStorage when selections are made. To test, apply the patch and perform a patron search in the staff client which will return multiple pages of results. - Select a patron on the first page of results. - The "Add to patron list" and "Batch patron modification" buttons should become active, and the "Patrons selected" box should show "1" - After checking another checkbox the "Merge selected patrons" button should activate and the "selected" count should increment. - Test making selections on other pages of results. The "selected" count should continue to increment. - Test the "Batch patron modification" button, confirming that all the patrons you selected are correctly passed to the batch patron modification tool. - Test that the "Clear" control works correctly to clear all checkboxes and disable all other buttons. - Test that the "Select all" and "Clear all" controls work correctly, enabling all buttons and correctly incrementing the "selected" count. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 23.05. Nice work everyone, thanks!
Enhancement. Not pushed to 22.11.07.
The patron search section of the manual should be completely updated since it doesn't currently list any of the things you can do with selected patrons. I'll update that section and add a text about linking to batch patron modification from patron search results.