MIFOSX-764 - Fixed default ordering of journal entries to make sure running balances add up
This commit is contained in:
committed by
Keith Woodlock
parent
983378ac59
commit
a8752cb70a
+4
@@ -175,6 +175,10 @@ public class JournalEntryReadPlatformServiceImpl implements JournalEntryReadPlat
|
||||
sqlBuilder.append(' ').append(searchParameters.getSortOrder());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
sqlBuilder.append(" order by journalEntry.entry_date, journalEntry.id");
|
||||
}
|
||||
|
||||
if (searchParameters.isLimited()) {
|
||||
sqlBuilder.append(" limit ").append(searchParameters.getLimit());
|
||||
|
||||
Reference in New Issue
Block a user