]> git.koha-community.org Git - koha.git/commit
Bug 5668 - Star ratings in the opac
authorMason James <mtj@kohaaloha.com>
Fri, 30 Mar 2012 03:35:29 +0000 (16:35 +1300)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 10 Apr 2012 12:40:49 +0000 (14:40 +0200)
commit7eef4c8c700dc81e8ab2fd28486162ff7db35ede
treefb04bc9524cdf185ce9ba154234b33eb2f5fba66
parentf12a3cc7e7a6bf38faa4496fbc436e3cb557e021
Bug 5668 - Star ratings in the opac

patch applied to commit eb3dc448d2378e01a524d082fc6389484b0cc7d8

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Turned on star ratings in the opac on details and results
Searched for titles - saw the stars
Clicked on a title
Clicked on the stars
Clicked on the stars to change my rating
Logged out
Tried to click on stars
Logged in as different user
Rated items that were rated already and saw average change
Changed preference to show only on detail and repeated tests
Changed preference to now show stars

All above tests passed. Signing off.

Rebased 3-19-12 by Ian Walls

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
19 files changed:
C4/Auth.pm
C4/Output.pm
C4/Ratings.pm [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/prog/en/css/jquery.rating.css [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.rating.js [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/prog/images/delete.gif [new file with mode: 0755]
koha-tmpl/opac-tmpl/prog/images/star.gif [new file with mode: 0644]
opac/opac-detail.pl
opac/opac-ratings-ajax.pl [new file with mode: 0755]
opac/opac-ratings.pl [new file with mode: 0755]
opac/opac-search.pl
t/db_dependent/Ratings.t [new file with mode: 0755]