Changeset 1593

Show
Ignore:
Timestamp:
05/19/08 13:40:46 (3 months ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> #355, Tag Cloud in random order, applied attachment:ticket:355:tag-order.diff - thanks justinr

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/search/lib/tags_display.php

    r1569 r1593  
    1111if ($tags = get_records_sql('SELECT DISTINCT tag,count(ident) AS number, '.$db->random.' AS rand  
    1212                             FROM '.$CFG->prefix."tags WHERE " . $searchline . " 
    13                              GROUP BY tag having number > 1 order by rand limit 200")) { 
     13                             GROUP BY tag ASC having number > 1 limit 200")) { 
    1414    $max = 0; 
    1515    foreach($tags as $tag) {