Bug 17089: Mark out the boundaries of ratings
commite4136c2b3ad4730255f8c39409756c82948f0cfd
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Aug 2016 14:08:55 +0000 (9 15:08 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Sep 2016 09:31:30 +0000 (9 09:31 +0000)
treeda31df0ea945caa128ca6ee87072a1f26b705d28
parentb9d5cbedc4b61579ae3a245ad2f7ae779d12d36b
Bug 17089: Mark out the boundaries of ratings

In the doc of C4::Ratings, it was written that the rate values should be
>=0 and <=5, but it was not taken into account.
This bug should be fixed on stable releases as well.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Rating.pm
t/db_dependent/Koha/Ratings.t