fix: remove print
This commit is contained in:
parent
941e76e05b
commit
1dadd23ffb
@ -17,7 +17,6 @@ public class OrderHistoryController {
|
|||||||
List<String> orders = new ArrayList<>();
|
List<String> orders = new ArrayList<>();
|
||||||
|
|
||||||
for (Child child : children) {
|
for (Child child : children) {
|
||||||
System.out.println(child.getId());
|
|
||||||
List<String> selections = Database.select("food_selection", new String[] { "childid" }, new String[] { String.valueOf(child.getId()) });
|
List<String> selections = Database.select("food_selection", new String[] { "childid" }, new String[] { String.valueOf(child.getId()) });
|
||||||
for (String selection : selections) {
|
for (String selection : selections) {
|
||||||
String[] selectionParts = selection.split(":");
|
String[] selectionParts = selection.split(":");
|
||||||
@ -30,6 +29,7 @@ public class OrderHistoryController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Collections.sort(orders);
|
Collections.sort(orders);
|
||||||
|
Collections.reverse(orders);
|
||||||
for(String order : orders){
|
for(String order : orders){
|
||||||
listView.getItems().add(order);
|
listView.getItems().add(order);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user