[chronojump] Tags on genericWin sorted by name



commit 5b16b5d12e67095013b20f3b9d18053ffbe75592
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Nov 23 16:04:16 2020 +0100

    Tags on genericWin sorted by name

 src/sqlite/tagSession.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/sqlite/tagSession.cs b/src/sqlite/tagSession.cs
index bbe6cf8b..39efbaa4 100644
--- a/src/sqlite/tagSession.cs
+++ b/src/sqlite/tagSession.cs
@@ -78,7 +78,7 @@ class SqliteTagSession : Sqlite
                if(uniqueID != -1)
                        uniqueIDStr = " WHERE " + table + ".uniqueID = " + uniqueID;
 
-               dbcmd.CommandText = selectStr + uniqueIDStr + " Order BY " + table + ".uniqueID";
+               dbcmd.CommandText = selectStr + uniqueIDStr + " Order BY " + table + ".name";
 
                LogB.SQL(dbcmd.CommandText.ToString());
                dbcmd.ExecuteNonQuery();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]