Closed wagnerand closed 2 weeks ago
I don't understand /admin/models/ratings/rating/?addon=<ID>&o=5
if I try that I don't get results but I tried with
https://addons-internal.stage.mozaws.net/en-US/admin/models/ratings/rating/?q=
selected multiple ratings and deleted without errors.
In /admin/models/ratings/rating/?addon=<ID>&o=5
you need to replace <ID>
with an add-on id that has some ratings attached to it (with some IPs)
&o=5
means the list is sorted by IP addresses (you can achieve the same ting by clicking on the column header)
ahhh 🤦🏽♀️ I tried with reports ids from the first column instead of the correct addon id
https://addons-internal.stage.mozaws.net/en-US/admin/models/ratings/rating/?q=&addon=1007672&o=5
on multiple ratings or a single rating is working for me on stage.
Or on dev , another example https://addons-internal.dev.mozaws.net/en-US/admin/models/ratings/rating/?q=&o=5.-3&deleted=false&addon=630148
What happened?
/admin/models/ratings/rating/?addon=<ID>&o=5
FieldError: Cannot update when ordering by an aggregate: GroupConcat(Inet6Ntoa(Col(log_activity_ip, activity.IPLog.ip_address_binary)), distinct=True)
(sentry)What did you expect to happen?
Ratings deleted successfully
Is there an existing issue for this?
┆Issue is synchronized with this Jira Task