]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 1 May 2013 10:44:31 +0000 (06:44 -0400)
commit20b016beab69c9678133001fe7595d81704c7ce0
treeb38c65baf06b8448de1f76e876cf6a7a8eb77d3f
parent2fd425df268b8b0c46caa254aa209ed03eae0637
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>
(cherry picked from commit 86511b380f06f4b0f9c6a21332819c9614ac3b59)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
tags/review.pl