Explorar el Código

Merge pull request #1002 from gdl-888-2/patch-3

역사 버그 수정
잉여개발기 (SPDV) hace 5 años
padre
commit
d59064cd59
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      route/view_read.py

+ 2 - 2
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 id 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:
@@ -207,4 +207,4 @@ def view_read_2(conn, name):
         imp = [flask.request.args.get('show', name), wiki_set(), custom(), other2([sub, r_date, watch_list])],
         data = div,
         menu = menu
-    )), response_data
+    )), response_data