Bug 14805: (follow-up) fix a bug in previous code and change msg string
authorJoonas Kylmälä <j.kylmala@gmail.com>
Thu, 17 Sep 2015 11:35:32 +0000 (11:35 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Nov 2015 14:13:32 +0000 (11:13 -0300)
commit67cb605872a89595835829dd0194fd0eaf2cc958
tree0e1dbcff07e99f6c57bbc046437a330d7f9808ce
parent531bfc856894177942c335ad8605210700274b99
Bug 14805: (follow-up) fix a bug in previous code and change msg string

Previously the code didn't work if there was only one batch available for selection.
This fixes that now. Also there was a bug with wrong string showing now it's
changed to a general one, "items". I choosed the string "items" because there was
difficulties adding the plural part of the word. One cannot add just s to the end
of the word batch like you can in the case of profile.

Sponsored-by: Vaara-kirjastot

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt