Oops, minor bug in range facet introduced in last check-in.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@504 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
d1b0de95de
commit
2226d77c27
@ -135,9 +135,11 @@ public class RangeFacet implements Facet {
|
|||||||
_errorMessage = e.getMessage();
|
_errorMessage = e.getMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
_from = o.getDouble(FROM);
|
if (o.has(FROM) || o.has(TO)) {
|
||||||
_to = o.getDouble(TO);
|
_from = o.has(FROM) ? o.getDouble(FROM) : _min;
|
||||||
_selected = true;
|
_to = o.has(TO) ? o.getDouble(TO) : _max;
|
||||||
|
_selected = true;
|
||||||
|
}
|
||||||
|
|
||||||
_selectNumeric = JSONUtilities.getBoolean(o, "selectNumeric", true);
|
_selectNumeric = JSONUtilities.getBoolean(o, "selectNumeric", true);
|
||||||
_selectNonNumeric = JSONUtilities.getBoolean(o, "selectNonNumeric", true);
|
_selectNonNumeric = JSONUtilities.getBoolean(o, "selectNonNumeric", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user