diff --git a/spi/spi-kv/src/api/ci/kv_ci_item_api.rs b/spi/spi-kv/src/api/ci/kv_ci_item_api.rs index cda75e2de..c05e073f3 100644 --- a/spi/spi-kv/src/api/ci/kv_ci_item_api.rs +++ b/spi/spi-kv/src/api/ci/kv_ci_item_api.rs @@ -47,6 +47,8 @@ impl KvCiItemApi { extract: Query>, page_number: Query, page_size: Query, + desc_by_create: Query>, + desc_by_update: Query>, ctx: TardisContextExtractor, ) -> TardisApiResult> { let funs = crate::get_tardis_inst(); @@ -56,6 +58,8 @@ impl KvCiItemApi { extract: extract.0, page_number: page_number.0, page_size: page_size.0, + desc_sort_by_create: desc_by_create.0, + desc_sort_by_update: desc_by_update.0, ..Default::default() }, &funs,