Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2565 by Playing with sort prevented augment_queryset from being called

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running?

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Visit https://MYSERVER/reviews/r/?sort=people

What is the expected output? What do you see instead?
Expect to see All Review Requests. Instead see 500 due to 'ReviewRequest' object has no attribute 'publicreviewcount_count' or similar.

What operating system are you using? What browser?
Solaris. Chrome.

Please provide any additional information below.
I was playing with the URL trying to sort by People (Target People), which doesn't seem possible. It seems like this resulted in no sort being done, which in turn means augment_queryset isn't called on any columns, causing mass breakage which takes a while to figure out. Should augment_queryset be called whether or not sort optimization is being done?

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to