]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Nov 2015 13:44:33 +0000 (10:44 -0300)
commitfff73a73837d577214fa3a9198fa97f8a50471f3
tree9299493da13df155d38f30ad4f6923dfcea5a2b1
parentc292dde75b5e206045cef47d0be51235159a4b6d
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>
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt