Support search for status channel and data fetch

This commit is contained in:
Dominik Werder
2024-07-26 15:16:19 +02:00
parent 8f383050f5
commit b52fbd9044
8 changed files with 14 additions and 39 deletions

View File

@@ -109,7 +109,7 @@ pub(super) async fn search_channel_scylla(
let ret = ChannelSearchResult { channels: Vec::new() };
return Ok(ret);
}
let ch_kind: i16 = if query.channel_status { 1 } else { 2 };
let ch_kind: i16 = query.kind.to_db_i16();
let (cb1, cb2) = if let Some(x) = query.backend.as_ref() {
(false, x.as_str())
} else {