]> git.koha-community.org Git - koha.git/commit
Bug 33560: Batch edit link broken if subscriptions are selected using "select all...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 18 Apr 2023 16:51:04 +0000 (16:51 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 10:47:45 +0000 (11:47 +0100)
commit970bd8ca4d3631aa75531cac2db5c640a4d3bfcd
tree0e1cc4ad52e03dfc0534911e5bb58fbda0528383
parentdb31d3691363d5c8ea53976c672c45700f334de8
Bug 33560: Batch edit link broken if subscriptions are selected using "select all" link

This patch revises the process by which the serials search results page
redirects to the batch edit page based on which checkboxes are checked.

To test, apply the patch and go to serials. You should have some
subscriptions which are open and some which are closed.

- Perform a search which will return at least one result under each tab
  (Open and Closed).
  - Checking one or more checkboxes should activate the "Edit selected
    serials" link, which should work correctly to redirect you to the
    batch edit page.
  - Unchecking all the checkboxes should make the edit link disappear.
  - Check that the "Select all" and "Clear all" links work the same way
    manually checking checkboxes does.
  - Confirm that controls under each tab work correctly just for the
    results under that tab.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9e26828a62ffcdbbdda5a62cfa4a61e2ce503485)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt