mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-23 15:18:16 +02:00
Fix: Inversion ordre affichage articles RSS
Change le tri de DESC (récent en premier) à ASC (ancien en premier) pour afficher les articles du plus ancien au plus récent.
This commit is contained in:
1 file changed
+1
-1
@@ -194,7 +194,7 @@ router.get('/articles', async (req, res) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
query += `
|
query += `
|
||||||
ORDER BY a.pub_date DESC
|
ORDER BY a.pub_date ASC
|
||||||
LIMIT ?
|
LIMIT ?
|
||||||
`;
|
`;
|
||||||
params.push(limit);
|
params.push(limit);
|
||||||
|
|||||||
Reference in new issue
Block a user