From 432e88a23b5d8180095029a4b6cd0a7436bbaf95 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Wed, 10 Mar 2010 08:15:01 +0000 Subject: [PATCH] Fixed range facet to restore non-numeric, blank, and error selections from its ui state properly. git-svn-id: http://google-refine.googlecode.com/svn/trunk@270 7d457c2a-affb-35e4-300a-418c747d4874 --- src/main/webapp/scripts/facets/range-facet.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/scripts/facets/range-facet.js b/src/main/webapp/scripts/facets/range-facet.js index d172667e2..97506b3d4 100644 --- a/src/main/webapp/scripts/facets/range-facet.js +++ b/src/main/webapp/scripts/facets/range-facet.js @@ -5,9 +5,9 @@ function RangeFacet(div, config, options) { this._from = ("from" in this._config) ? this._config.from : null; this._to = ("to" in this._config) ? this._config.to : null; - this._selectNonNumeric = true; - this._selectBlank = true; - this._selectError = true; + this._selectNonNumeric = ("selectNonNumeric" in this._config) ? this._config.selectNonNumeric : true; + this._selectBlank = ("selectBlank" in this._config) ? this._config.selectBlank : true; + this._selectError = ("selectError" in this._config) ? this._config.selectError : true; this._nonNumericCount = 0; this._blankCount = 0;