4683: Search doesn't index review requests owned by inactive users


What version are you running?


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


What steps will reproduce the problem?

  1. Search for something that appears in the summary of a review request which is public and completed or pending review, but is owned by an inactive user

What is the expected output? What do you see instead?

I'd expect to be able to search for any text in the summary of review requests on the All Review Requests page.

The actual output is "No review requests match your query"

What operating system are you using? What browser?

Ubuntu, Firefox

Please provide any additional information below.

Applying this patch and updating the index fixes the issue:

--- reviewboard/reviews/search_indexes.py.orig 2018-03-26 18:08:29.313052467 +0000
+++ reviewboard/reviews/search_indexes.py 2018-03-26 18:08:45.541322304 +0000
@@ -50,6 +50,7 @@
extra_query=Q(status='P') | Q(status='S'),
+ show_inactive=True,

#1 kyz

Splat loses track of bugs (as reported in bug 4695). Adding an update just to see if it doing that puts the bug back on the bug list.