This regression seems to have been introduced with changes from #401234: Reflect hierarchical taxonomy vocabulary in facet.

This is a trivial fix.

Comments

robertdouglass’s picture

Status: Needs review » Fixed

Thanks David.

justindodge’s picture

This is also an issue on 6.x-1.0-rc4, and I did not see any mention of it being fixed in the release notes of rc5. Thought it might be worth mentioning.

robertdouglass’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Fixed » Needs review

Opening back up to double check for 6.1.dev

claudiu.cristea’s picture

Fixed in DRUPAL-5--2 too... Leave for review in 6.1

pwolanin’s picture

whoops - yes, looks like it's needed.

pwolanin’s picture

Status: Needs review » Fixed

committed to 6.x-1.x

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Closed (fixed) » Active

Opening this, because the patch now also needs to be applied to 2.x branch. Specifically these two lines:

      $initial_limits = variable_get('apachesolr_facet_query_initial_limits', array());
      $limit_default = variable_get('apachesolr_facet_query_initial_limit_default', 10);

added after

    if ($items && ($response->response->numFound > 1 || $contains_active)) {

In apachesolr_search.module for 2.x

cfennell’s picture

Status: Active » Needs review
StatusFileSize
new1.14 KB

Ok, just ran into this myself, had a patch all rolled, should have known somebody would have already caught this. I'm on beta2, but Here's a patch for 6.x-2.x-dev.

jpmckinney’s picture

Status: Needs review » Fixed

Fixed elsewhere in 2.x #723492: Facet Block Sorting Not Working as Intended. Closed for all branches.

Status: Fixed » Closed (fixed)

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