Pman/Roo.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 15 May 2012 04:50:40 +0000 (12:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 15 May 2012 04:50:40 +0000 (12:50 +0800)
Pman/Roo.php

index 9e49636..77db3bb 100644 (file)
@@ -227,7 +227,12 @@ class Pman_Roo extends Pman
        
         
         // sets map and countWhat
-        $this->loadMap($x, $_columns, empty($_REQUEST['_distinct']) ? false:  $_REQUEST['_distinct']);
+        $this->loadMap($x, array(
+                    'columns' => $_columns,
+                    'distinct' => empty($_REQUEST['_distinct']) ? false:  $_REQUEST['_distinct'],
+                    'exclude' => empty($_REQUEST['_exclude_columns']) ? false:  explode(',', $_REQUEST['_exclude_columns'])
+            ));
+        
         
         $this->setFilters($x,$_REQUEST);