From: Ben Sherratt Date: Fri, 3 Jul 2026 18:24:05 +0000 (+0100) Subject: Order pages asc X-Git-Url: https://git.bts.cx/cx.git/commitdiff_plain/ef10a64a4f43bf4ba5e660c0f56d31e4602998c3?ds=inline Order pages asc --- diff --git a/cx/lib/posts.php b/cx/lib/posts.php index f056c88..8ce6e6b 100644 --- a/cx/lib/posts.php +++ b/cx/lib/posts.php @@ -246,7 +246,7 @@ function cx_pages_get() { FROM posts WHERE post_is_page == TRUE AND post_is_draft == FALSE - ORDER BY post_creation_time DESC;'; + ORDER BY post_creation_time ASC;'; foreach (cx_db_query($sql) as $post) { $p = new Post($post);