Fix search issue (#13)

* Add Algolia to search and add Only My Posts filter

* Actually fix Algolia index possible issue

* Fix search issue
This commit is contained in:
Ben Halpern 2018-03-01 13:40:16 -05:00 committed by GitHub
parent 05084ac0ee
commit ee1565c8d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
var CACHE_VERSION = 'v2.4.3';
var CACHE_VERSION = 'v2.4.4';
var CACHE_NAME = CACHE_VERSION + ':sw-cache::';
var REQUESTS_LIMIT = 70;

View file

@ -93,7 +93,7 @@
searchObj["filters"] = filters
}
console.log(searchObj)
index.search("*", searchObj)
index.search(query, searchObj)
.then(function searchDone(content) {
var resultDivs = []
content.hits.forEach(function(story, i){