Explorar el Código

조금 수정

잉여개발기 (SPDV) hace 5 años
padre
commit
d35c573eaa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      route/view_read.py

+ 1 - 1
route/view_read.py

@@ -121,7 +121,7 @@ def view_read_2(conn, name):
 
         curs.execute(db_change('' + \
             'select ip, date, leng, send, id from history ' + \
-            'where title = ? and hide != "O" and type = "" order by cast(id as integer) desc limit 3' + \
+            'where title = ? and hide != "O" and type = "" order by id + 0 desc limit 3' + \
         ''), [name])
         sql_d = curs.fetchall()
         if sql_d: