[Koha-bugs] [Bug 5668] Star ratings in the opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 12 23:56:29 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5668

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|rel_3_6                     |master
       Patch Status|Failed QA                   |Needs Signoff

--- Comment #36 from Mason James <mtj at kohaaloha.com> 2012-01-12 22:56:29 UTC ---
for the curious i have the ratings stuff running on a demo (user:pwd =
test:testtest)

http://demo2.kohaaloha.com/cgi-bin/koha/opac-search.pl?q=the
http://demo2.kohaaloha.com/cgi-bin/koha/opac-detail.pl?biblionumber=1

to test, after successfully applying the patch...

1) run the updatedatedase.pl script
$ perl installer/data/mysql/updatedatabase.pl
Upgrade to 9.99.99.XXX done (Add 'ratings' table and 'OpacStarRatings' syspref)

2) run the test suite
$ perl  t/db_dependent/Ratings.t
1..9
ok 1 - use C4::Ratings;
ok 2 - add a rating
ok 3 - add another rating
ok 4 - update a rating
ok 5 - get a rating, with userid
ok 6 - get a rating, without userid
ok 7 - verify user's bib rating
ok 8 - delete a rating
ok 9 - delete another rating

3) set syspref 'OpacStarRatings' to 'Show star-ratings on "results and details"
pages'

4) search the OPAC

fyi: this patch was created from commit
756a1f6b72c976a342b510f3cfc25105f3719cd0

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list