Skip to content

Commit 1dfede0

Browse files
authored
Merge pull request #1220 from Patternslib/auto-suggest-caching
feat(pat-auto-suggest): Enable caching.
2 parents 8fadfda + 154890b commit 1dfede0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/pat/auto-suggest/auto-suggest.js

+1
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ export default Base.extend({
258258
dataType: this.options.ajax["data-type"],
259259
type: "GET",
260260
quietMillis: this.options.ajax.timeout,
261+
cache: true,
261262
data: (term, page) => {
262263
const request_data = {
263264
q: term, // search term

0 commit comments

Comments
 (0)