getItemsCheckedOut: sort by due date ascending, duh
authorkenstir <kenstir@gmail.com>
Mon, 19 Oct 2015 12:49:59 +0000 (08:49 -0400)
committerkenstir <kenstir@gmail.com>
Mon, 19 Oct 2015 12:49:59 +0000 (08:49 -0400)
Open-ILS/src/Android/core/src/org/evergreen_ils/accountAccess/AccountAccess.java

index 309778f..e77e1ef 100644 (file)
@@ -396,7 +396,7 @@ public class AccountAccess {
         Collections.sort(circRecords, new Comparator<CircRecord>() {
             @Override
             public int compare(CircRecord lhs, CircRecord rhs) {
-                return lhs.getDueDate().compareTo(rhs.getDueDate());
+                return rhs.getDueDate().compareTo(lhs.getDueDate());
             }
         });