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()
|
.flatten()
|
||||||
.map(@highlight)
|
.map(@highlight)
|
||||||
.filter()
|
.filter()
|
||||||
|
.take(50)
|
||||||
.map(reactify)
|
.map(reactify)
|
||||||
.value()
|
.value()
|
||||||
|
|
||||||
|
@ -791,7 +791,7 @@ module.exports = query({
|
|||||||
}
|
}
|
||||||
return results;
|
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) {
|
highlight: function(e) {
|
||||||
var got, res;
|
var got, res;
|
||||||
|
Loading…
Reference in New Issue
Block a user