Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2009 at 15:18 UTC
Updated:
10 May 2010 at 22:00 UTC
Adding an empty facet to the languages block doesn't work:
From apachesolr.module function apachesolr_facet_block():
if ($facet == '_empty_') {
$exclude = TRUE;
$facet = '[* TO *]';
$facet_text = theme('placeholder', t('Missing this field'));
$options['html'] = TRUE;
// Put this just below any active facets.
// '-' sorts before all numbers, but after '*'.
$sortpre = '-';
}
This will generate a URL with: ?filters=-language%3A[* TO *]
Comments
Comment #1
jpmckinney commentedNo longer a problem as language is set to und if empty by #662232: Use language-neutral code like D7.