If the last numeric range contains only elements with a value equal to that
range's "from" boundary, this range does not show up in the facet. E.g. if
values are between 10 and 100 and the ranges are grouped by 10, there will
be no range shown for elements with value=100. To fix this, line 223 in
numeric-range-facet.js
range.count = countItems(range);
needs to be changed to something like this:
var isLastRange = (range.to==max)
if (isLastRange) range.to++; //temporarily expand range so that it
includes last values
range.count = countItems(range);
if (isLastRange) range.to--;
Exhibit 2.0 in IE6 and FireFox 2
[Submitted by Andrei Palskoi on simile.mit.edu]
Original issue reported on code.google.com by GabrielR...@googlemail.com on 4 Apr 2009 at 4:41
Original issue reported on code.google.com by
GabrielR...@googlemail.com
on 4 Apr 2009 at 4:41