Bug #36352 Dropdown Search Filters Result in Incorrect Search Results
Submitted: 25 Apr 2008 19:05 Modified: 10 Jun 2008 17:04
Reporter: Jay Pipes Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Websites: MySQLForge Severity:S3 (Non-critical)
Version:2.0 OS:Any
Assigned to: Jay Pipes CPU Architecture:Any

[25 Apr 2008 19:05] Jay Pipes
Description:
Selecting something in the dropdown filters on the Browse Projects page:

http://forge.mysql.com/projects/search.php

results in incorrect results.

How to repeat:
Goto: http://forge.mysql.com/projects/search.php

Select "C++" from the language dropdown.
You will see results for Delphi come up.

Likewise, select "C", and you see "C++" results come up.

The dropdown above "Added By" column likewise produces incorrect search results.

Suggested fix:
Fix the search filters.
[10 Jun 2008 17:04] Jay Pipes
Fixed in r526: Replaced incorrect use of array_merge(arr1,arr2) with arr1 + arr2 in order to preserve numeric keys in arrays.