Update landing page for print article in chronological order
This commit is contained in:
@@ -90,7 +90,8 @@ def login():
|
||||
else:
|
||||
conn = sqlite3.connect(DATABASE) # Connexion à la base de donnée
|
||||
cursor = conn.cursor() # Création de l'objet "curseur"
|
||||
cursor.execute("""SELECT title_id, title, subtitle, creation_date, last_updated, author FROM Blog_posts WHERE status='public_unified'""" )
|
||||
cursor.execute("""SELECT title_id, title, subtitle, creation_date, last_updated, author FROM Blog_posts
|
||||
WHERE status='public_unified' ORDER BY creation_date""" )
|
||||
list_posts=cursor.fetchall()
|
||||
posts=list()
|
||||
id=0
|
||||
|
||||
Reference in New Issue
Block a user