At present any project-specific sort doesn't function as expected in the project navigation form on the search pages.
Issues noted:
1. Project-specific sorts don't change sorting.
2. Most Installed is selected by default regardless of text.

Comments

csevb10’s picture

Status: Active » Needs review
StatusFileSize
new5.53 KB
new1.77 KB

Ok, the attached patches do the following:
1. Move the sorts from ProjectSolrQuery object into the prepare_query. This makes these sorts available to any query object instead of just ProjectSolrQuery objects. This is important for use on the search pages + the project navigation form in those locations.
2. Pull the search terms from the query object rather than from the url. This makes it easier to reuse the form on the search page and the project pages.

dww’s picture

Status: Needs review » Fixed

Patches look great. Committed to HEAD of both project and drupalorg, merged into bzr, and deployed. Seems to be working, for example:

http://redesign.drupal.org/search/apachesolr_search/signup?solrsort=crea...

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

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