[Koha-bugs] [Bug 17089] Move the star ratings related code to Koha::Ratings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 9 16:13:46 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17089
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 54207
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54207&action=edit
Bug 17089: Koha::Ratings - Add Koha::Rating[s] classes
The subroutines in C4::Ratings are only CRUD operations.
This patch set moves the entire module to Koha::Rating[s] based on
Koha::Object[s]
Test plan for the whole patch set:
0/ Set OpacStarRatings to "results and details"
1/ Log in at the OPAC
2/ Launch a search, you should see the star ratings
3/ Go on a detail page, you should see the star ratings
4/ Rate the record
5/ Log in with another patron
6/ Go on the same detail page, you should see the previous rating
7/ Rate the racord, you should see "2 votes" and the average rating
value.
8/ Cancel your rate
9/ Disable JavaScript and repeat 7
Note: You cannot cancel your rate if JavaScript is disabled (not a
regression).
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list