projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6745c1
)
alphabetic tag search order
author
Andreas Unterkircher
<unki@netshadow.at>
Wed, 20 Jun 2007 04:31:48 +0000
(
04:31
+0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Wed, 20 Jun 2007 04:31:48 +0000
(
04:31
+0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@115
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 9c426a30ce20f678d9daa95eb2c141305d491faa..eb8a8e66b32b18cd60062450d9711fe836c6cbdb 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-154,8
+154,10
@@
class PHPFSPOT {
$result = $this->db->db_query("
SELECT tag_id as id, count(tag_id) as quantity
FROM photo_tags
+ INNER JOIN tags t
+ ON t.id = tag_id
GROUP BY tag_id
- ORDER BY t
ag_id
ASC
+ ORDER BY t
.name
ASC
");
$tags = Array();