We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc37455 commit 4991f9eCopy full SHA for 4991f9e
interface/lib/classes/plugin_listview.inc.php
@@ -16,6 +16,8 @@ function onShow() {
16
$app->uses('listform');
17
$app->listform->loadListDef($this->options["listdef"]);
18
19
+ //$app->listform->SQLExtWhere = "type = 'alias'";
20
+
21
$listTpl = new tpl;
22
$listTpl->newTemplate('templates/'.$app->listform->listDef["name"].'_list.htm');
23
@@ -32,6 +34,10 @@ function onShow() {
32
34
$sql_where = $app->tform->getAuthSQL('r')." and";
33
35
}
36
37
38
+ if($this->options["sqlextwhere"] != '') {
39
+ $sql_where .= " ".$this->options["sqlextwhere"]." and";
40
+ }
41
42
$sql_where = $app->listform->getSearchSQL($sql_where);
43
$listTpl->setVar($app->listform->searchValues);
0 commit comments