Browse Source

fix news display

Eren Yilmaz 6 years ago
parent
commit
5365cf3087
1 changed files with 1 additions and 1 deletions
  1. 1 1
      model.py

+ 1 - 1
model.py

@@ -459,7 +459,7 @@ def news():
 
     cursor.execute('''
         SELECT * FROM
-            (SELECT *
+            (SELECT *, rowid 
             FROM news
             ORDER BY rowid DESC -- equivalent to order by dt
             LIMIT 20) n