Sfoglia il codice sorgente

changed to show youngest registration first

Jiri Kuthan 23 anni fa
parent
commit
86e5f90493
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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