While working on #865510: Add project_solr_browse_projects_form as a block on the main search page when a project type facet is selected we discovered that the "Filter by compatibility" dropdown doesn't work if the project browsing form isn't on the main project download pages. That's because the place where we're doing the field alias isn't being properly reused in all cases. A better place for this would be inside prepare_query(). This has the side benefit of letting prepare_query() work on the project solr stuff if anyone else is trying to use that hook. csevb10 is working on the patch as I write this, so I'm assigning this to him...

CommentFileSizeAuthor
#2 875478-project_solr.patch1.98 KBcsevb10

Comments

dww’s picture

csevb10’s picture

Status: Active » Needs review
StatusFileSize
new1.98 KB

Code.

dww’s picture

Status: Needs review » Fixed

Fixed a code comment and wrapped the alias inside a check for project_release. Committed to HEAD:
http://drupal.org/cvs?commit=403232

Thanks!
-Derek

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org redesign, -drupal.org redesign solr, -drupal.org redesign sprint 1

Automatically closed -- issue fixed for 2 weeks with no activity.