summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-14 18:37:27 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-14 18:37:27 +0100
commit4353b37d6ccb5dbf35a9a2ec14c13c227799b4ff (patch)
tree651bb317defeff1e6933c90b53e620bc01096de7
parentd9ee4599c943bf674f180a5fab849ec256658a41 (diff)
show newer photos first when opening phpfspot
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--phpfspot.class.php2
1 files changed, 1 insertions, 1 deletions
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'] = '';