Go to http://drupal.org/project/issues/search/drupal, enter "Eric Scouten" for participant, and click Search.

The list includes many issues in which I have never participated. At this moment, the first issue (http://drupal.org/node/13095, "Make misc/drupal.css optional") is one example of a false positive search result.

CommentFileSizeAuthor
#4 issue-participant-search.patch3.96 KBnedjo

Comments

junyor’s picture

No matter what I enter, I get 38 pages of results.

moshe weitzman’s picture

Title: Advanced search on "Participant" returns extra records » Advanced search on "Participant" is ignored

this field is simply not used when issueing a search.

Eric Scouten’s picture

Still happens in current CVS (or at least what's on drupal.org today).

nedjo’s picture

Assigned: Unassigned » nedjo
Status: Active » Needs review
StatusFileSize
new3.96 KB

There were two issues. 1. 'participated' had been left off the array of used fields in project_issue_query_parse(). 2. the sql generated in project_issue_query_sql() needs to wrap each subblock of sql in parentheses, so that multiple OR conditions are properly handled.

This patch also corrects a minor display issue on the advanced search form (missing colspan).

nedjo’s picture

Status: Needs review » Fixed

Applied.

Anonymous’s picture

Status: Fixed » Closed (fixed)