Support year facets when applying query parameters.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -71,7 +71,7 @@ define(function(require) { | ... | @@ -71,7 +71,7 @@ define(function(require) { |
71 | if (impl) { | 71 | if (impl) { |
72 | if (impl instanceof QueryTextField) { | 72 | if (impl instanceof QueryTextField) { |
73 | impl.set('query', value, skipOptions); | 73 | impl.set('query', value, skipOptions); |
74 | } else if (impl.facetType === 'field' && value) { | 74 | } else if ((impl.facetType === 'field' || impl.facetType === 'year') && value) { |
75 | if (field === 'min') { | 75 | if (field === 'min') { |
76 | impl.set('queryMin', parseInt(value), skipOptions); | 76 | impl.set('queryMin', parseInt(value), skipOptions); |
77 | } else if (field === 'max') { | 77 | } else if (field === 'max') { | ... | ... |
-
Please register or sign in to post a comment