Skip to content

Commit

Permalink
spi-kv:fix item match add orrder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Dec 25, 2023
1 parent 5b11328 commit faea008
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spi/spi-kv/src/api/ci/kv_ci_item_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ impl KvCiItemApi {
extract: Query<Option<String>>,
page_number: Query<u32>,
page_size: Query<u16>,
desc_by_create: Query<Option<bool>>,
desc_by_update: Query<Option<bool>>,
ctx: TardisContextExtractor,
) -> TardisApiResult<TardisPage<KvItemSummaryResp>> {
let funs = crate::get_tardis_inst();
Expand All @@ -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,
Expand Down

0 comments on commit faea008

Please sign in to comment.