- sort collections by name

3.0.x
Dries Buytaert 2001-08-27 14:05:43 +00:00
parent 098ab8ef82
commit b0691596ba
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {