]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Bug 25 fix.
authorWill Budicm <redacted>
Wed, 20 May 2020 02:21:53 +0000 (12:21 +1000)
committerWill Budicm <redacted>
Wed, 20 May 2020 02:21:53 +0000 (12:21 +1000)
Current Development Check List.md
htdocs/cgi-bin/system/modules/Settings.pm

index 20aa68698d27a8286ec4187964475af05d116b78..6aa4394dfb97d725ec2ebd38176313c03c6c69c7 100644 (file)
@@ -95,6 +95,7 @@ This version is not compatible in data structure to prior versions. Data migrati
 ### v. 1.9 Encountered/Fixed
 
 * &#10004; Bug 25 - SQLite view not properly sorting in new databases. Newer records listed last.
+  * View should order by time function desc, ascendig is default.
 * &#10004; Bug 24 - Logs row sum calculation not working/wrong, with negative and positive values.
 * &#10004; Bug 23 - Delete not working in view mode.
 * &#10004; Bug 22 - Delete selection of entries not working after a while, db fix in config page required.
index 455e571454cb1cba3ec76d5d2878d1979727ef76..a49285e4fd7fe2a4992f7528e50297325dea0009 100644 (file)
@@ -108,7 +108,7 @@ sub createVW_LOGStmt {
 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(