]> 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)
committerLiz Rea <wizzyrea@gmail.com>
Wed, 9 Dec 2015 22:00:02 +0000 (11:00 +1300)
commitce5b361fc81938695b3a7271f803d1322d93b63b
treee8e210022bc825fefb8f0bd2fb6fd0816c8a1379
parent4bf09f1c515ae78b8623b23a10118c156896dc00
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>
(cherry picked from commit a6878413151477d87955c1af30994dfa5415d180)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt