tbrehm
2005-11-24 4991f9e081ac8a563d50e570baf59f6df223e333
SQL plugin erweitert
1 files modified
6 ■■■■■ changed files
interface/lib/classes/plugin_listview.inc.php 6 ●●●●● patch | view | raw | blame | history
interface/lib/classes/plugin_listview.inc.php
@@ -16,6 +16,8 @@
        $app->uses('listform');
        $app->listform->loadListDef($this->options["listdef"]);
        
        //$app->listform->SQLExtWhere = "type = 'alias'";
        $listTpl = new tpl;
        $listTpl->newTemplate('templates/'.$app->listform->listDef["name"].'_list.htm');
        
@@ -32,6 +34,10 @@
                $sql_where = $app->tform->getAuthSQL('r')." and";
            }
        }
        if($this->options["sqlextwhere"] != '') {
            $sql_where .= " ".$this->options["sqlextwhere"]." and";
        }
        $sql_where = $app->listform->getSearchSQL($sql_where);
        $listTpl->setVar($app->listform->searchValues);