From 4ba86694e393c61107e27c4127efc0455b329524 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 26 Feb 2026 12:47:40 +0100 Subject: db continuation --- server/src/ui/items.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'server/src') diff --git a/server/src/ui/items.rs b/server/src/ui/items.rs index 6383830..286fc01 100644 --- a/server/src/ui/items.rs +++ b/server/src/ui/items.rs @@ -25,16 +25,14 @@ pub fn r_items(ri: RequestInfo, cont: Option<&str>) -> MyResult { ri.state.database.transaction(&mut |txn| { let rows = txn .query(Query { - filter: Filter::Has(Path(vec![NO_SLUG.0])), + filter: Filter::Match(Path(vec![NO_KIND.0]), KIND_CHANNEL.into()), continuation: cont.clone(), ..Default::default() })? .take(64) .collect::, _>>()?; - let mut list = OBB::new() - .with(NODELIST_DISPLAYSTYLE, NLSTYLE_GRID) - .with(NODELIST_TITLE, "items"); + let mut list = OBB::new().with(NODELIST_DISPLAYSTYLE, NLSTYLE_GRID); let mut iterstate = Vec::new(); for (r, is) in rows { -- cgit v1.3