summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/meta.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/meta.module b/modules/meta.module
index e6335c611..32ef449c9 100644
--- a/modules/meta.module
+++ b/modules/meta.module
@@ -28,7 +28,7 @@ function meta_form($type, $edit = array()) {
while ($collection = db_fetch_object($c)) {
unset($array);
- $t = db_query("SELECT * FROM tag WHERE collections LIKE '%$collection->name%'");
+ $t = db_query("SELECT * FROM tag WHERE collections LIKE '%$collection->name%' ORDER BY name");
while ($tag = db_fetch_object($t)) {
if (strstr($edit[attributes], $tag->attributes)) {