make so that articles in the openposting but not in newswire appear in topics
authormh <mh>
Mon, 3 Jun 2002 14:11:11 +0000 (14:11 +0000)
committermh <mh>
Mon, 3 Jun 2002 14:11:11 +0000 (14:11 +0000)
source/mircoders/producer/ProducerTopics.java

index f26ab69..1f1a32b 100755 (executable)
@@ -70,7 +70,7 @@ public class ProducerTopics extends ProducerList {
       if (contentEntityList!=null || force==true) {
         if (contentEntityList!=null){
           boolean first=true;
-          whereClause="is_published='1' AND to_article_type >= 1 AND to_article_type <=2 AND id IN (";
+          whereClause="is_published='1' AND to_article_type >= 0 AND to_article_type <=2 AND id IN (";
           whereClauseSpecial="is_published='1' AND to_article_type=3 AND id IN (";
           for(int j=0; j < contentEntityList.size(); j++){
             if(first==false) {
@@ -91,7 +91,7 @@ public class ProducerTopics extends ProducerList {
 
         if(contentEntityList==null && force==true){
           //hihi, das ist eigentlich boese
-          whereClause="is_published='1' AND to_article_type>=1 AND id IN (0)";
+          whereClause="is_published='1' AND to_article_type>=0 AND id IN (0)";
         }
 
         fileDesc = currentTopic.getValue("filename");