]> git.koha-community.org Git - koha.git/commit
Bug 10022 - Multiple tags moderation doesn't work on translated page
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Wed, 10 Apr 2013 10:37:54 +0000 (12:37 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Wed, 8 May 2013 07:54:00 +0000 (19:54 +1200)
commitea3005fa49ffc4699e697d925e6828ed8f602101
tree5e50554305b1b194a3df35a2bb1487d78cf0381e
parentbdf07b45f9b1593caaf0c65190a3a51c669e51f1
Bug 10022 - Multiple tags moderation doesn't work on translated page

When using a translated intranet, tags moderation using checkboxes and a
submit button doesn't work. You get a message "Unknown Operation on x
Term(s)" (translated of course).

This patch corrects by using name="op-[operation]" instead of name="op"
in each submit input.

Test plan :
- Create a new tag on a record
- Go to tags moderation in Tools
=> You should see your tag in pending terms
- Click on checkbox
- Click on Approve or Reject submit button at the bottom of the table
=> Without patch the tag is still pending
=> With patch operation is well performed, tag is not pending
- Test "Check lists" form
- Test Approve and Reject buttons from "Actions" column

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
tags/review.pl