From: Andreas Unterkircher Date: Mon, 14 Jan 2008 17:37:27 +0000 (+0100) Subject: show newer photos first when opening phpfspot X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=4353b37d6ccb5dbf35a9a2ec14c13c227799b4ff show newer photos first when opening phpfspot Signed-off-by: Andreas Unterkircher --- diff --git a/phpfspot.class.php b/phpfspot.class.php index 8646ff1..cf0a60c 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -116,7 +116,7 @@ class PHPFSPOT { $_SESSION['tag_condition'] = 'or'; if(!isset($_SESSION['sort_order'])) - $_SESSION['sort_order'] = 'date_asc'; + $_SESSION['sort_order'] = 'date_desc'; if(!isset($_SESSION['searchfor_tag'])) $_SESSION['searchfor_tag'] = '';