[pLog-svn] r4053 - plog/branches/lifetype-1.1.1/class/summary/view

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Sep 27 18:52:14 GMT 2006


Author: oscar
Date: 2006-09-27 18:52:13 +0000 (Wed, 27 Sep 2006)
New Revision: 4053

Modified:
   plog/branches/lifetype-1.1.1/class/summary/view/summarybloglistview.class.php
Log:
paging of blog filtered by blog categories works again


Modified: plog/branches/lifetype-1.1.1/class/summary/view/summarybloglistview.class.php
===================================================================
--- plog/branches/lifetype-1.1.1/class/summary/view/summarybloglistview.class.php	2006-09-27 18:39:55 UTC (rev 4052)
+++ plog/branches/lifetype-1.1.1/class/summary/view/summarybloglistview.class.php	2006-09-27 18:52:13 UTC (rev 4053)
@@ -60,7 +60,7 @@
 			$blogCategoryId = $this->_params->getValue( "blogCategoryId" );
 			$currentBlogCategory = $categories->getBlogCategory( $blogCategoryId );
 			if( !$currentBlogCategory )
-				$blogCategoryId = ALL_BLOG_CATEGORIES;			
+				$blogCategoryId = ALL_BLOG_CATEGORIES;
 
 			// get the data itself
 			$blogs = new Blogs();						
@@ -73,7 +73,7 @@
             }
 			
 			// calculate the links to the different pages
-			$pager = new Pager( "?op=BlogList&page=",
+			$pager = new Pager( "?op=BlogList&blogCategoryId=".$blogCategoryId."&page=",
 			                    $this->_page, 
 								$numBlogs, 
 								$this->_numBlogsPerPage );



More information about the pLog-svn mailing list