From b0691596ba04436294f697d6e32d185808dac9cd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 27 Aug 2001 14:05:43 +0000 Subject: - sort collections by name --- modules/meta.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/meta.module') 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)) { -- cgit v1.2.3