CjS77 / ale

Double-entry accounting system based on node.js + Sequelize
Apache License 2.0
53 stars 35 forks source link

added newestFirst query param #2

Closed richardmillen94 closed 6 years ago

richardmillen94 commented 6 years ago

When querying transactions and journal entries, specifying the param newestFirst = true will order the results by descending timestamp, otherwise ascending is used. This affects pagination, the first page will contain the newest records.