git ssb

10+

Matt McKegg / patchwork



Commit 0d1a6bee0b245a3c5bc6f15186b82c425128fdea

include 200 most recent channels for suggest

Matt McKegg committed on 6/21/2017, 1:16:04 AM
Parent: 8cc3d189da905734de8a08a9c7ab6f0dfbc868ab

Files changed

modules/channel/obs/suggest.jschanged
modules/channel/obs/suggest.jsView
@@ -16,9 +16,9 @@
1616 return nest('channel.async.suggest', function () {
1717 loadSuggestions()
1818 return function (word) {
1919 if (!word) {
20- return suggestions().slice(0, 100)
20 + return suggestions().slice(0, 200)
2121 } else {
2222 return suggestions().filter((item) => {
2323 return item.title.toLowerCase().startsWith(word.toLowerCase())
2424 })

Built with git-ssb-web