[Koha-bugs] [Bug 10125] Babeltheque star image must use sprite

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jul 7 10:21:39 CEST 2013


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19381|0                           |1
        is obsolete|                            |

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 19451
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19451&action=edit
Bug 10125 - Babeltheque star image must use sprite

When I removed images from the OPAC in favor of sprites I didn't take
into account the display of star ratings from Babeltheque. This patch
copies the star ratings display from Koha's own ratings display,
though it is not dependent on JavaScript.

I'm sure testing would be easy for someone with access to the
Babeltheque service, but I do not. I temporarily modified the template
to set some variables for testing purposes:

    [% SET SEARCH_RESULT.score_int = 3 %]
    [% SET SEARCH_RESULT.score_avg = 3 %
    [% SET SEARCH_RESULT.num_scores = 87 %]

This enabled the display of the ratings, allowing me to confirm that
stars display correctly. Ratings should work with and without
OpacStarRatings enabled.

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

I also fudged the template to test, so QA would need to be done with
someone with Babeltheque access

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list