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

New issue 2565 by doug.pat...@setred.com: Playing with sort prevented augment_queryset from being called
http://code.google.com/p/reviewboard/issues/detail?id=2565

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

What version are you running?
1.6.5

What's the URL of the page containing the problem?
http://MYSERVER/reviews/r/?sort=people

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

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 reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to