mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add secondary sort (QFieldMetaData::getName) to execute method, for increased stability
This commit is contained in:
@ -173,7 +173,7 @@ public class GetTableApiFieldsAction extends AbstractQActionFunction<GetTableApi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fields.sort(Comparator.comparing(QFieldMetaData::getLabel));
|
fields.sort(Comparator.comparing(QFieldMetaData::getLabel).thenComparing(QFieldMetaData::getName));
|
||||||
|
|
||||||
return (new GetTableApiFieldsOutput().withFields(fields));
|
return (new GetTableApiFieldsOutput().withFields(fields));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user