Explorar o código

fix news display

Eren Yilmaz %!s(int64=6) %!d(string=hai) anos
pai
achega
5365cf3087
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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