Skip to content

Commit

Permalink
Limit search result block to a single instance on the page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeck committed Apr 5, 2014
1 parent 8a37797 commit 514e66d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/spotlight/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Spotlight.onLoad(function(){
el: instance,
onEditorRender: function() {
serializeObservedForms(observedForms());
},
blockTypeLimits: {
"SearchResults": 1
}
});
}
Expand Down

0 comments on commit 514e66d

Please sign in to comment.