]> git.koha-community.org Git - koha.git/commit
Bug 26120: Remove the use of jquery.checkboxes plugin from tags review template
authorOwen Leonard <oleonard@myacpl.org>
Sat, 1 Aug 2020 00:37:32 +0000 (00:37 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 20 Oct 2020 16:56:58 +0000 (16:56 +0000)
commitdc170fcafe2afb130b4117a195b78014a8675c96
treecf78bb342a3d0584a0e7b2a91934dadbd3b9ca09
parent1bcc96876b75770adb7e05d5c26c0d372068b739
Bug 26120: Remove the use of jquery.checkboxes plugin from tags review template

This patch removes the use of the jquery.checkboxes plugin and improves
the handling of tag status markup so that the "Select all pending"
selection link works correctly.

To test, apply the patch and go to Tools -> Tags. To test properly you
should have multiple tags awaiting moderation.

 - The initial view of tags moderation shows only tags awaiting
    moderation. Test that the "select all," "clear all," and "Select all
    pending" links work correctly.
 - Click the "Approve" button for a tag, and the "Reject" button for
   another tag.
 - Test the "Select all pending" link again. Only the tags awaiting
   moderation should be selected.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 99befa42c80eddec6e49aa1a86b77e74f529f0bd)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js