roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r520486 - /incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
Date Tue, 20 Mar 2007 17:21:51 GMT
Author: snoopdave
Date: Tue Mar 20 10:21:50 2007
New Revision: 520486

URL: http://svn.apache.org/viewvc?view=rev&rev=520486
Log:
Bug in parameter oredering

Modified:
    incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java

Modified: incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java?view=diff&rev=520486&r1=520485&r2=520486
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
(original)
+++ incubator/roller/trunk/src/org/apache/roller/business/runnable/ScheduledEntriesTask.java
Tue Mar 20 10:21:50 2007
@@ -130,9 +130,20 @@
             log.debug("looking up scheduled entries older than "+now);
             
             // get all published entries older than current time
-            List scheduledEntries = wMgr.getWeblogEntries(null, null, null, now, null, null,
-                    null, WeblogEntryData.SCHEDULED, null, null, null, 0, -1);
-            
+            List scheduledEntries = wMgr.getWeblogEntries(
+                    null,   // website
+                    null,   // user
+                    null,   // startDate
+                    now,    // endDate
+                    null,   // catName
+                    null,   // tags
+                    WeblogEntryData.SCHEDULED, // status
+                    null,   // text
+                    null,   // sortBy
+                    null,   // sortOrder
+                    null,   // locale
+                    0, -1); // offset, length
+                    
             log.debug("promoting "+scheduledEntries.size()+" entries to PUBLISHED state");
             
             WeblogEntryData entry = null;



Mime
View raw message