Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
solr-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
22582bd1
authored
2016-06-23 18:01:58 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Support year facets when applying query parameters.
1 parent
2a1c9946
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/scripts/solr/model/Solr.js
src/scripts/solr/model/Solr.js
View file @
22582bd
...
...
@@ -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'
)
{
...
...
Please
register
or
sign in
to post a comment