]> git.koha-community.org Git - koha.git/commit
Bug 18095: Batch item modification: Better message if no item is modified
authorMarc Véron <veron@veron.ch>
Fri, 10 Feb 2017 15:07:13 +0000 (16:07 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 14 Feb 2017 21:26:18 +0000 (22:26 +0100)
commit7f4bef9bfec20529607cca635e08561fbdcc0ea1
treea5a30849b9be586b4cf75ced5826042a0ef83811
parentdc40f04752804131de38621b1ad6646f1438a1a8
Bug 18095: Batch item modification: Better message if no item is modified

If no item is modified, the result page of Batch item modification says:
"item(s) modified (with fields modified)."
The message should be: "No items modified"

To reproduce:
- Go to Tools -> Batch item modification
- Put a barcode in and click Continue
- Do not make any changes and/or deselect all item(s)
- Click "Save"
=> Result message reads: "item(s) modified (with fields modified)."

To test:
- Apply patch
- Repeat steps above
- Verify that message makes sense.

NOTE: Also tested positive case with actual field change.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit adca73545e75c31198e3d094512da7961460ed02)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt