]> git.koha-community.org Git - koha.git/commit
Bug 24335: Cannot mark checkout notes seen/not seen in bulk
authorOwen Leonard <oleonard@myacpl.org>
Fri, 3 Jan 2020 18:43:15 +0000 (18:43 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Sun, 12 Jan 2020 19:12:28 +0000 (19:12 +0000)
commit2eeeaec8d5b0a92b8e0fba3ae1341d261c42d9c2
treee5ca94e2c5677be8570cb63905ca85290984e0bc
parent5dee8697e47979e3fac686c3609a69376a0b8511
Bug 24335: Cannot mark checkout notes seen/not seen in bulk

This patch changes the way checkbox events are handled on the checkout
notes page so that checking a checkbox enables the batch operation
controls.

Note: The addition of a "markseen" class is a preventative measure to
avoid future problems where using the "btn-small" class might not be
specific enough.

To test you should have multiple checkout notes to work with, both seen
and unseen. Apply the patch and go to "Checkout notes pending" from the
staff client home page.

 - Check any checkbox. The "Mark seen" and "Mark not seen" should go
   from disabled to enabled.
   - Test that the buttons work correctly.
 - Click the "Select all" and "Clear all" controls and confirm that the
   buttons are enabled and disabled correctly.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt