summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-05 15:23:08 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-05 15:23:08 +0000
commitd84467ff3dbee949f714697c32b302e06fb0889d (patch)
treefa9d8438a12b10f4f3d369d988c384b512bf01fc
parentc6ab56d6c7eb83c973d7a4f10ee2420b56e49f12 (diff)
downloadsemanticscuttle-d84467ff3dbee949f714697c32b302e06fb0889d.tar.gz
semanticscuttle-d84467ff3dbee949f714697c32b302e06fb0889d.tar.bz2
Minor fix: order tags
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@251 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--services/bookmark2tagservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/bookmark2tagservice.php b/services/bookmark2tagservice.php
index 63f3d57..d09aee2 100644
--- a/services/bookmark2tagservice.php
+++ b/services/bookmark2tagservice.php
@@ -208,7 +208,7 @@ class Bookmark2TagService {
return false;
}
- $query = 'SELECT tag FROM '. $this->getTableName() .' WHERE bId = '. intval($bookmarkid) .' AND LEFT(tag, 7) <> "system:" ORDER BY tag';
+ $query = 'SELECT tag FROM '. $this->getTableName() .' WHERE bId = '. intval($bookmarkid) .' AND LEFT(tag, 7) <> "system:" ORDER BY id ASC';
if (!($dbresult =& $this->db->sql_query($query))) {
message_die(GENERAL_ERROR, 'Could not get tags', '', __LINE__, __FILE__, $query, $this->db);