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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 10:44:24 +0000 (06:44 -0400)
commit86511b380f06f4b0f9c6a21332819c9614ac3b59
treea385fca4c1f7fd1158cb068752efc072498958de
parentd1db0064a262b09c0aa483b39aac2c6b806c6d60
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
tags/review.pl