this is similar to:

http://drupal.org/node/372336

what's the purpose of allowing hook_modify_query overrides if some potential overrides are made impossible by code in apachesolr_search_block?

Comments

heacu’s picture

incidentally for a quick fix i just commented out

ksort($items, SORT_STRING);

in apachesolr_facet_block() and also changed

$items[$sortpre . '*' . $facet_text] = $link;

to

$items[] = $link;

of course this removes some other functionality the module has added on top of SOLR (but not strictly part of SOLR) in order to support a standard SOLR parameter.

robertdouglass’s picture

Status: Active » Closed (duplicate)

Yes - good observations. I'm going to mark this one duplicate and move the discussion to the issue you linked. I think we need to take the clue on how to sort the facets from the facet.sort param.