From: mensonge Date: Thu, 5 Feb 2009 15:23:08 +0000 (+0000) Subject: Minor fix: order tags X-Git-Tag: v0.94~133 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d84467ff3dbee949f714697c32b302e06fb0889d;p=semanticscuttle.git Minor fix: order tags git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@251 b3834d28-1941-0410-a4f8-b48e95affb8f --- 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);