mirror of
https://bitbucket.org/FransoletThomas/tablet-app.git
synced 2025-12-06 00:21:19 +00:00
Add order by section
This commit is contained in:
parent
59f86a3093
commit
00e281f865
@ -252,7 +252,7 @@ class _MainViewWidget extends State<MainViewWidget> {
|
||||
print("GET SECTIONS");
|
||||
print(tabletAppContext.toString());
|
||||
List<SectionDTO> sections = await tabletAppContext.clientAPI.sectionApi.sectionGetFromConfiguration(tabletAppContext.configuration.id);
|
||||
print(sections);
|
||||
sections.sort((a, b) => a.order.compareTo(b.order));
|
||||
return sections;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user