Skip to content

Commit 399d9cb

Browse files
author
ljl
committed
spi-search:fix ext order.
1 parent a43ff9e commit 399d9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/spi/spi-search/src/serv/pg/search_pg_item_serv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ pub async fn search(search_req: &mut SearchItemSearchReq, funs: &TardisFunsInst,
523523
{
524524
order_fragments.push(format!("{} {}", sort_item.field, sort_item.order.to_sql()));
525525
} else {
526-
order_fragments.push(format!("ext ->> '{}' {}", sort_item.field, sort_item.order.to_sql()));
526+
order_fragments.push(format!("ext -> '{}' {}", sort_item.field, sort_item.order.to_sql()));
527527
}
528528
}
529529
}

0 commit comments

Comments
 (0)