feat: space hierarchies
This commit is contained in:
parent
6a6f8e80f1
commit
9d49d599f3
11 changed files with 503 additions and 17 deletions
|
@ -31,7 +31,8 @@ pub async fn search_events_route(
|
|||
.collect()
|
||||
});
|
||||
|
||||
let limit = filter.limit.map_or(10, |l| u64::from(l) as usize);
|
||||
// Use limit or else 10, with maximum 100
|
||||
let limit = filter.limit.map_or(10, u64::from).min(100) as usize;
|
||||
|
||||
let mut searches = Vec::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue