roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r528073 - /roller/trunk/apps/planet/src/java/org/apache/roller/planet/ui/rendering/pagers/PlanetEntriesPager.java
Date Thu, 12 Apr 2007 18:19:46 GMT
Author: agilliland
Date: Thu Apr 12 11:19:45 2007
New Revision: 528073

URL: http://svn.apache.org/viewvc?view=rev&rev=528073
Log:
entries pager only applies to a single group.


Modified:
    roller/trunk/apps/planet/src/java/org/apache/roller/planet/ui/rendering/pagers/PlanetEntriesPager.java

Modified: roller/trunk/apps/planet/src/java/org/apache/roller/planet/ui/rendering/pagers/PlanetEntriesPager.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/planet/src/java/org/apache/roller/planet/ui/rendering/pagers/PlanetEntriesPager.java?view=diff&rev=528073&r1=528072&r2=528073
==============================================================================
--- roller/trunk/apps/planet/src/java/org/apache/roller/planet/ui/rendering/pagers/PlanetEntriesPager.java
(original)
+++ roller/trunk/apps/planet/src/java/org/apache/roller/planet/ui/rendering/pagers/PlanetEntriesPager.java
Thu Apr 12 11:19:45 2007
@@ -99,7 +99,7 @@
                         rawEntries = planetManager.getEntries(sub, offset, length+1);
                     }
                 } else if (group != null) {
-                    rawEntries = planetManager.getEntries(Collections.singletonList(group),
startDate, null, offset, length+1);
+                    rawEntries = planetManager.getEntries(group, startDate, null, offset,
length+1);
                 } else {
                     //rawEntries = planetManager.getEntries(startDate, null, offset, length+1);
                     rawEntries = Collections.EMPTY_LIST;



Mime
View raw message