server: fix pagination counts for tantivy results

This commit is contained in:
2024-10-27 10:55:49 -07:00
parent 88f8a9d537
commit 93073c9602
2 changed files with 30 additions and 28 deletions

View File

@@ -605,7 +605,7 @@ fn compute_offset_limit(
}
}
#[derive(Debug)]
#[derive(Debug, Default)]
pub struct Query {
pub unread_only: bool,
pub tags: Vec<String>,