浏览代码

changed to show youngest registration first

Jiri Kuthan 23 年之前
父节点
当前提交
86e5f90493
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      etc/seruser

+ 1 - 1
etc/seruser

@@ -7,7 +7,7 @@
 USER_COLUMN='user'
 SUBSCRIBER_COLUMN='user_id'
 QUERY1="select subscriber.email_address from subscriber where  subscriber.user_id='$1'"
-QUERY2="select location.* from location where location.user='$1'"
+QUERY2="select location.* from location where location.user='$1' order by expires desc"
 
 # username and password of a valid MySql user, preferably only with read-only
 # privilegs