Closed tcrasset closed 3 years ago
Sort by date, but increase the grain to be seconds. The change should be made in the date picker when inserting transactions.
This choice was preferred, as was actually the only possible.
Indeed, sorting by ID meant that transactions entered later, but having a sooner date would have been ranked as last entered, which is not correct;
Ideally, the transactions in the
showTransactionsPage
should be sorted by the order they were inserted by the user. Right now, we just sort by date, but the date value is not finegrained enough (only by day).There are two ways, in preferred order:
AUTOINCREMENT
in the database, higher IDs mean later insertion time.