r1809 + finally stick with sorting stickers one way
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 21 Mar 2008 22:45:51 +0000 (22:45 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 21 Mar 2008 22:45:51 +0000 (22:45 +0000)
inc/database.php

index ad45dfffa5dbf1dea768e19deafc7e344a08ecd1..4d291b381ffb18cd6d483ccb9185638ba86d08dd 100644 (file)
@@ -1611,7 +1611,7 @@ function getAttrValues ($object_id, $strip_optgroup = FALSE)
                "left join AttributeValue as AV on AV.attr_id = AM.attr_id and AV.object_id = RO.id " .
                "left join Dictionary as D on D.dict_key = AV.uint_value and AM.chapter_no = D.chapter_no " .
                "left join Chapter as C on AM.chapter_no = C.chapter_no " .
-               "where RO.id = ${object_id} order by A.attr_type";
+               "where RO.id = ${object_id} order by A.attr_type, A.attr_name";
        $result = useSelectBlade ($query);
        while ($row = $result->fetch (PDO::FETCH_ASSOC))
        {