https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29280
--- Comment #3 from Lucas Gass <[email protected]> --- (In reply to Owen Leonard from comment #2) > Although it was introduced for (and named for) user-related pages, the > include file user-star-ratings.inc could be used here, I think. Unless the > ratings are supposed to display, but not be interacted with? > > If they are supposed to be interacted with, the template will need to > include the relevant JS: > > [% IF ( Koha.Preference('OpacStarRatings') == 'all' ) %] > [% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %] > [% Asset.js("js/ratings.js") | $raw %] > [% END %] Thanks for looking at this Owen! I followed the behavior of results.tt, which doesn't seem to allow users to interact with OpacStarRatings, only view them. Do you think we should allow patrons to interact with ratings on both results and lists? (if they are logged in) And if so, should I handle all of that in this bug? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
