diff --git a/src/main/java/org/commcare/cases/entity/AsyncEntity.java b/src/main/java/org/commcare/cases/entity/AsyncEntity.java index c0d0b953f..fda8021e1 100755 --- a/src/main/java/org/commcare/cases/entity/AsyncEntity.java +++ b/src/main/java/org/commcare/cases/entity/AsyncEntity.java @@ -176,7 +176,7 @@ public String getSortField(int i) { } catch (IOException e) { Logger.exception("Error while getting sort field", e); } - return null; + return sortData[i]; } @Override