Author: francois
Date: 2010-03-31 10:23:44 +0200 (Wed, 31 Mar 2010)
New Revision: 28914

Modified:
   
plugins/sfPropel15Plugin/trunk/data/generator/sfPropelModule/admin15/parts/paginationAction.php
Log:
[sfPropel15Plugin] Fixed bug preventing sort on virtual columns

Modified: 
plugins/sfPropel15Plugin/trunk/data/generator/sfPropelModule/admin15/parts/paginationAction.php
===================================================================
--- 
plugins/sfPropel15Plugin/trunk/data/generator/sfPropelModule/admin15/parts/paginationAction.php
     2010-03-31 08:21:56 UTC (rev 28913)
+++ 
plugins/sfPropel15Plugin/trunk/data/generator/sfPropelModule/admin15/parts/paginationAction.php
     2010-03-31 08:23:44 UTC (rev 28914)
@@ -54,8 +54,6 @@
 <?php else: ?>
     $query = PropelQuery::from('<?php echo $this->getModelClass() ?>');
 <?php endif; ?>
-
-    $this->processSort($query);
     
     foreach ($this->configuration->getWiths() as $with) {
       $query->joinWith($with);
@@ -65,6 +63,8 @@
       $query->$method();
     }
     
+    $this->processSort($query);
+    
     $event = $this->dispatcher->filter(new sfEvent($this, 
'admin.build_criteria'), $query);
     $query = $event->getReturnValue();
 

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to