fixed topiccount sql
authormtopper <mtopper>
Sun, 31 Jul 2005 04:07:57 +0000 (04:07 +0000)
committermtopper <mtopper>
Sun, 31 Jul 2005 04:07:57 +0000 (04:07 +0000)
etc/producer/producers.xml

index a99938d..06355d1 100755 (executable)
  <body>
        <FreeQuery key="topicCounts" query=" SELECT count(x.content_id) as count, t.title, t.filename FROM topic as t LEFT OUTER JOIN content_x_topic 
                                                                                 as x ON (t.id=x.topic_id) LEFT OUTER JOIN content as c ON (c.id=x.content_id) 
-                                                                                WHERE t.archiv_url = 'Category' GROUP BY t.title ORDER BY length(t.title)"
+                                                                                WHERE t.archiv_url = 'Category' GROUP BY t.title , t.filename ORDER BY length(t.title)"
                   type="set"/>
        <Language>          
        <Generate generator="/topiccount.template"
-               destination="${config.storageRoot}/${pathprefix}/topiccount.html" />
+               destination="${config.storageRoot}/topiccount.html" />
        </Language>
   </body>
   </producer>