]> 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:16 +0000 (19:54 +1200)
commitd1a845261c43188e5d8923b7635c3422f06b0fd8
tree4bb8a9c02097dc4a38a242c991c31037366c2db3
parent2247bf6907ee6fb90e614c83e2932d018925a9a9
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