#4059 - Issues with ratings
| Identifier | #4059 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Issues with ratings |
| Status | Completed |
| Handling member | Chris Graham |
| Version | 10.0.29 |
| Addon | core |
| Description | There are a number of ratings bugs: 1) Ratings are not working from image/video screens 2) Ratings are not consistently working for catalogues - due to a feedback-type-code mismatch 3) Ratings shown in category/block views may not be cache safe, particular grid views for galleries and catalogues, and category listings for downloads. i.e. ratings changes do not show until cache expiry. |
| Steps to reproduce | |
| Funded? | No |
| Commits | Fixed MANTIS-4059 (Issues with ratings) (934af38c) · Commits · Composr ecosystem / Composr · GitLab |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
UPDATE cms_rating SET rating_for_type='catalogues' WHERE rating_for_type LIKE 'catalogues__%';
UPDATE cms_trackbacks SET trackback_for_type='catalogues' WHERE trackback_for_type LIKE 'catalogues__%';
UPDATE cms_f_topics SET t_description=REGEXP_REPLACE(t_description,'catalogues__\\w+(_\\d+)','catalogues$1') WHERE t_description LIKE '%#catalogues__%';
Fix the 'cms_' table prefix as appropriate.