### v. 1.9 Encountered/Fixed
* ✔ Bug 25 - SQLite view not properly sorting in new databases. Newer records listed last.
+ * View should order by time function desc, ascendig is default.
* ✔ Bug 24 - Logs row sum calculation not working/wrong, with negative and positive values.
* ✔ Bug 23 - Delete not working in view mode.
* ✔ Bug 22 - Delete selection of entries not working after a while, db fix in config page required.
return qq(
CREATE VIEW VW_LOG AS
SELECT rowid as ID,*, (select count(rowid) from LOG as recount where a.rowid >= recount.rowid) as PID
- FROM LOG as a ORDER BY Date(DATE) DESC;'
+ FROM LOG as a ORDER BY Date(DATE) DESC, Time(DATE) DESC;'
)}
sub createAUTHStmt {
return qq(