mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 11:51:32 +03:00
limit results shown
This commit is contained in:
parent
a5ab44d1bb
commit
b665c7678a
@ -29,6 +29,7 @@ module.exports = query {name:'t', kids: sect:'j'}, recl
|
||||
.flatten()
|
||||
.map(@highlight)
|
||||
.filter()
|
||||
.take(50)
|
||||
.map(reactify)
|
||||
.value()
|
||||
|
||||
|
@ -791,7 +791,7 @@ module.exports = query({
|
||||
}
|
||||
return results;
|
||||
};
|
||||
})(this)).flatten().flatten().map(this.highlight).filter().map(reactify).value());
|
||||
})(this)).flatten().flatten().map(this.highlight).filter().take(50).map(reactify).value());
|
||||
},
|
||||
highlight: function(e) {
|
||||
var got, res;
|
||||
|
Loading…
Reference in New Issue
Block a user