22582bd1 by Adam Heath

Support year facets when applying query parameters.

1 parent 2a1c9946
......@@ -71,7 +71,7 @@ define(function(require) {
if (impl) {
if (impl instanceof QueryTextField) {
impl.set('query', value, skipOptions);
} else if (impl.facetType === 'field' && value) {
} else if ((impl.facetType === 'field' || impl.facetType === 'year') && value) {
if (field === 'min') {
impl.set('queryMin', parseInt(value), skipOptions);
} else if (field === 'max') {
......