feat: search caching fumble fix
This commit is contained in:
+5
-266243
File diff suppressed because it is too large
Load Diff
@@ -188,7 +188,7 @@
|
||||
limit: 3,
|
||||
searchOptions: {
|
||||
where: {
|
||||
firstTag: "Tutorials"
|
||||
firstTag: "tutorials"
|
||||
},
|
||||
},
|
||||
onSearchEnd: function (posts) {
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
key: window.searchKey,
|
||||
postFields: ['title', 'url', 'excerpt', 'published_at'],
|
||||
postsExtraFields: ['tags'],
|
||||
debug: true,
|
||||
emptyTemplate: function () {
|
||||
return `
|
||||
<p class="text-center text-sm col-span-3 dark:text-white" id='no-results'>No results found.</p>
|
||||
@@ -40,7 +41,7 @@
|
||||
outputChildsType: '',
|
||||
searchOptions: {
|
||||
where: {
|
||||
firstTag: "Tutorials"
|
||||
firstTag: "tutorials"
|
||||
},
|
||||
limit: 9
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user