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
bbb7f7fb
authored
2016-02-04 14:16:52 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Syntax fixes.
1 parent
a80b0757
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
src/scripts/SolrSearch.js
src/scripts/SolrSearch.js
View file @
bbb7f7f
...
...
@@ -418,7 +418,6 @@ define(function(require) {
return
;
}
var
checkedKeys
=
[];
var
checkedCount
this
.
get
(
'items'
).
each
(
function
(
facetItem
)
{
if
(
facetItem
.
get
(
'checked'
))
{
checkedKeys
.
push
(
facetItem
.
get
(
'key'
));
...
...
@@ -837,8 +836,8 @@ define(function(require) {
if
(
parts
)
{
var
formNameMap
=
this
.
get
(
'formNameMap'
);
var
keyValueParts
=
parts
[
1
].
split
(
'&'
);
for
(
var
i
=
0
;
i
<
keyValueParts
.
length
;
i
++
)
{
var
keyFieldValue
=
keyValuePart
s
[
i
]
.
match
(
/^
([^
.
]
+
)(?:\.([^
.
]
+
))?
=
(
.*
)
$/
);
_
.
each
(
keyValueParts
,
function
(
keyValuePart
,
i
)
{
var
keyFieldValue
=
keyValuePart
.
match
(
/^
([^
.
]
+
)(?:\.([^
.
]
+
))?
=
(
.*
)
$/
);
if
(
keyFieldValue
)
{
var
key
=
keyFieldValue
[
1
];
var
field
=
keyFieldValue
[
2
];
...
...
@@ -869,7 +868,7 @@ define(function(require) {
}
}
}
}
}
,
this
);
}
},
initialize
:
function
(
data
,
options
)
{
...
...
Please
register
or
sign in
to post a comment