aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_tag.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-02-14 05:45:20 +0000
committerrvelices <rv-github@modusoptimus.com>2007-02-14 05:45:20 +0000
commit58a359e3c17b711be1663985e5e7801407eb50ed (patch)
tree32afe0d1840980e83dabf9236a90925e657daf78 /include/functions_tag.inc.php
parentdf3b43d35601551c3344bf051cdef4ab67de505a (diff)
- fill #searches.last_seen column
- small correction on my previous commit (functions_tag.inc.php) - web service tags.getImages correction git-svn-id: http://piwigo.org/svn/trunk@1816 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_tag.inc.php')
-rw-r--r--include/functions_tag.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions_tag.inc.php b/include/functions_tag.inc.php
index c9f239ef7..4f8c95563 100644
--- a/include/functions_tag.inc.php
+++ b/include/functions_tag.inc.php
@@ -258,6 +258,7 @@ SELECT id, name, url_name, count(*) counter
if ($max_tags>0)
{
$query .= '
+ ORDER BY counter DESC
LIMIT 0,'.$max_tags;
}