mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-17 11:43:54 +00:00
fix: default ordering on search listing (#16315)
This commit is contained in:
parent
84fdc77dec
commit
b43cfb0dad
@ -11,8 +11,8 @@ public class SearchSortFilter {
|
||||
|
||||
public SearchSortFilter(
|
||||
String sortField, String sortType, String sortNestedPath, String sortNestedMode) {
|
||||
this.sortField = sortField;
|
||||
this.sortType = sortType;
|
||||
this.sortField = sortField == null ? "name.keyword" : sortField;
|
||||
this.sortType = sortType == null ? "asc" : sortType;
|
||||
this.sortNestedPath = sortNestedPath;
|
||||
this.sortNestedMode = sortNestedMode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user