Commit 0d1a6bee0b245a3c5bc6f15186b82c425128fdea
include 200 most recent channels for suggest
Matt McKegg committed on 6/21/2017, 1:16:04 AMParent: 8cc3d189da905734de8a08a9c7ab6f0dfbc868ab
Files changed
modules/channel/obs/suggest.js | changed |
modules/channel/obs/suggest.js | ||
---|---|---|
@@ -16,9 +16,9 @@ | ||
16 | 16 … | return nest('channel.async.suggest', function () { |
17 | 17 … | loadSuggestions() |
18 | 18 … | return function (word) { |
19 | 19 … | if (!word) { |
20 | - return suggestions().slice(0, 100) | |
20 … | + return suggestions().slice(0, 200) | |
21 | 21 … | } else { |
22 | 22 … | return suggestions().filter((item) => { |
23 | 23 … | return item.title.toLowerCase().startsWith(word.toLowerCase()) |
24 | 24 … | }) |
Built with git-ssb-web