You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/07/25 18:37:10 UTC

svn commit: r225150 - /incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java

Author: agilliland
Date: Mon Jul 25 09:37:08 2005
New Revision: 225150

URL: http://svn.apache.org/viewcvs?rev=225150&view=rev
Log:
fixing bug where the entries map was not maintaining its proper ordering after we wrapped its contents.

Modified:
    incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java

Modified: incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java?rev=225150&r1=225149&r2=225150&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/velocity/PageModel.java Mon Jul 25 09:37:08 2005
@@ -390,8 +390,10 @@
                     wrappedEntries.add(i, 
                             WeblogEntryDataWrapper.wrap((WeblogEntryData)entries.get(i)));
                 }
-                ret.put(key, wrappedEntries);
+                mRet.put(key, wrappedEntries);
             }
+
+	    ret = mRet;
             
             setFirstAndLastEntries( ret );
         }