After giving the ranges directly and also as per the below code
if ($levels) return array();
return array(
305 => array('from' => 0, 'to' => 500001, 'label' => t('Low (0 to 5lakh)')),
306 => array('from' => 500001, 'to' => 2000001, 'label' => t('Avg (5 lakh to 20 lakh)'),
'boundaries' => array('from' => 'closed', 'to' => 'open')),
307 => array('from' => 2000001, 'to' => 'inf', 'label'=> t('High (30lakh and more)')),
);
The search results shows 10 results for any one of the 3 ranges.
The value next to the range is displayed correctly. Like
Salary Range
* Low (0 to 5lakh) (1)
* Avg (5 lakh to 20 lakh) (2)
* High (30lakh and more) (1)
Please help.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Screen shot 2011-04-11 at 5.17.40 PM.png | 95.57 KB | haopei |
Comments
Comment #1
haopei commentedI think I am having this same problem.
Please see attached image.
As you can see, my selected range is "More than 50M" (bottom-left), however this is not added to the "Current Search". There are 3 items inside this range, but the results show 4 (top right). The means that the faceted range just isn't applying to the results.