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 6f6b948 commit 942b3cbCopy full SHA for 942b3cb
interface/lib/classes/listform_actions.inc.php
@@ -226,7 +226,7 @@ public function getQueryString($no_limit = false) {
226
}
227
228
$sql_where = $app->listform->getSearchSQL($sql_where);
229
- if(isset($app->listform->listDef['join_sql'])) $sql_where .= ' AND '.$app->listform->listDef['join_sql'];
+ if(isset($app->listform->listDef['join_sql']) && $app->listform->listDef['join_sql'] != '') $sql_where .= ' AND '.$app->listform->listDef['join_sql'];
230
$app->tpl->setVar($app->listform->searchValues);
231
232
$order_by_sql = $this->SQLOrderBy;
0 commit comments