]> git.koha-community.org Git - koha.git/commit
Bug 15061: Can't add item to rotating collection
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tue, 3 Nov 2015 15:16:08 +0000 (12:16 -0300)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 20:09:31 +0000 (21:09 +0100)
commita6878413151477d87955c1af30994dfa5415d180
tree90c258b794e91b82b801017af8182cd9c20c7f3b
parent95d9e029c8ef612b5802c6e8951344cb0f678aaf
Bug 15061: Can't add item to rotating collection

This patch prevents adding items to invalid (empty)
rotating collection id

To test:
1) Go to /cgi-bin/koha/rotating_collections/addItems.pl
2) Try to add an item, you get error show in attached pictures
3) Apply the patch
4) Go again to /cgi-bin/koha/rotating_collections/addItems.pl
5) Can't add any items

I don't know if this is a real problem

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fff73a73837d577214fa3a9198fa97f8a50471f3)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt