diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-08-27 14:05:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-08-27 14:05:43 +0000 |
commit | b0691596ba04436294f697d6e32d185808dac9cd (patch) | |
tree | 1c0217f54bbfbcc3b0b0116c11fea5b2ebecc987 | |
parent | 098ab8ef828e5a0c7c1a8c0299580c07a0e5bf3e (diff) | |
download | brdo-b0691596ba04436294f697d6e32d185808dac9cd.tar.gz brdo-b0691596ba04436294f697d6e32d185808dac9cd.tar.bz2 |
- sort collections by name
-rw-r--r-- | modules/meta.module | 2 |
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)) { |