From fdecee963e404b28a4174a0fd601fa8f740030ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=9D=E4=BD=B3?= <73165334+201831990711@users.noreply.github.com> Date: Tue, 5 Jan 2021 13:36:17 +0800 Subject: [PATCH] Update NewFile.jsp sorted articles in reverse chronological order under a subject (most recent first) --- src/main/webapp/NewFile.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/NewFile.jsp b/src/main/webapp/NewFile.jsp index b306f51..d9544eb 100644 --- a/src/main/webapp/NewFile.jsp +++ b/src/main/webapp/NewFile.jsp @@ -186,7 +186,7 @@ footer -select * from article a , subject s where a.sid=s.sid and subject='<%=request.getAttribute("subject") %>' and hide="No" +select * from article a , subject s where a.sid=s.sid and subject='<%=request.getAttribute("subject") %>' and hide="No" order by time desc
@@ -224,4 +224,4 @@ select * from article a , subject s where a.sid=s.sid and subject='<%=request.g - \ No newline at end of file +