[pLog-svn] r2471 - plog/trunk/class/gallery/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Sep 14 21:52:11 GMT 2005


Author: oscar
Date: 2005-09-14 21:52:11 +0000 (Wed, 14 Sep 2005)
New Revision: 2471

Modified:
   plog/trunk/class/gallery/dao/galleryalbums.class.php
   plog/trunk/class/gallery/dao/galleryresources.class.php
Log:
fixed albums and resources


Modified: plog/trunk/class/gallery/dao/galleryalbums.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryalbums.class.php	2005-09-14 21:14:45 UTC (rev 2470)
+++ plog/trunk/class/gallery/dao/galleryalbums.class.php	2005-09-14 21:52:11 UTC (rev 2471)
@@ -56,6 +56,7 @@
         	                          $ownerId,
         	                          CACHE_USERALBUMS,
         	                          Array( CACHE_GALLERYALBUM => "getId" ),
+									  Array( "date" => "ASC" ),
         	                          $page,
         	                          $itemsPerPage );
         	if( !$albums )

Modified: plog/trunk/class/gallery/dao/galleryresources.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresources.class.php	2005-09-14 21:14:45 UTC (rev 2470)
+++ plog/trunk/class/gallery/dao/galleryresources.class.php	2005-09-14 21:52:11 UTC (rev 2471)
@@ -188,6 +188,7 @@
         								 $ownerId, 
         	                             CACHE_RESOURCES_USER,
         	                             null,
+										 Array( "date" => "ASC" ),
         	                             $page,
         	                             $itemsPerPage );
             if( !$resources )




More information about the pLog-svn mailing list