diff options
author | Rory MacQueen <rorymacqueen@gmail.com> | 2014-07-10 17:00:22 -0700 |
---|---|---|
committer | Rory MacQueen <rorymacqueen@gmail.com> | 2014-07-10 17:00:22 -0700 |
commit | a7ffebfea507a6b925b1a8af2ab961c104e9f126 (patch) | |
tree | 9c248dba0370813c88e175652d7278b37a0b16b4 /overrides | |
parent | 651b0b051777137f5cf73d01016e3f665055e1f8 (diff) |
EntryCompletion matches all results in model
Previously we were using the entry completions default
match function which will filter words by prefix. However
we want all filtering to be done in the knowledge engine
in a smarter way so this entry completion should just match
on all results.
Diffstat (limited to 'overrides')
-rw-r--r-- | overrides/endless_private/search_box.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/overrides/endless_private/search_box.js b/overrides/endless_private/search_box.js index 6ef846a..680c8b8 100644 --- a/overrides/endless_private/search_box.js +++ b/overrides/endless_private/search_box.js @@ -53,6 +53,7 @@ const SearchBox = new Lang.Class({ cells[0].xpad = CELL_PADDING_X; cells[0].ypad = CELL_PADDING_Y; + this._auto_complete.set_match_func(function () { return true; }); this.completion = this._auto_complete; this.connect('icon-press', Lang.bind(this, function () { |