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
471a6435
authored
2016-06-23 18:14:14 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Handle url being a method correctly.
1 parent
3da2cabc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/scripts/solr/model/Facets.js
src/scripts/solr/model/Facets.js
View file @
471a643
...
...
@@ -11,7 +11,7 @@ define(function(require) {
initialize
:
function
(
data
,
options
)
{
this
.
url
=
function
()
{
var
url
=
options
.
search
.
url
;
return
_
.
isFunction
(
url
)
?
url
.
call
()
:
url
;
return
_
.
isFunction
(
url
)
?
url
.
call
(
options
.
search
)
:
url
;
};
_
.
each
(
this
.
keys
(),
_
.
bind
(
function
(
facetName
)
{
var
facet
=
this
.
get
(
facetName
);
...
...
Please
register
or
sign in
to post a comment