Changeset 1741

Show
Ignore:
Timestamp:
07/04/07 17:12:51 (17 months ago)
Author:
mbonetti
Message:

we only want actual item tags, no categories, thank you

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/admin/tags.php

    r1723 r1741  
    142142    ."</tr>\n"; 
    143143 
    144     $sql = "select id,tag from " .getTable("tag") . " order by tag asc"; 
     144    $sql = sprintf("select id, tag from %s t left join %s m on (t.id = m.tid) where m.ttype = 'item'", getTable("tag"), getTable("metatag")); 
    145145    $res = rss_query($sql); 
    146146    $cntr = 0;