mcramer
2012-12-14 d41111a065e532f3f65e4eee7fed189ef949ade3
Fixed: Sorting as client can lead to sql errors due to amigious column sys_userid (JOINs)

1 files modified
3 ■■■■ changed files
interface/lib/classes/listform_actions.inc.php 3 ●●●● patch | view | raw | blame | history
interface/lib/classes/listform_actions.inc.php
@@ -142,7 +142,8 @@
            if($_SESSION['s']['user']['typ'] == "admin") {
                $sql_where = '';
            } else {
                $sql_where = $app->tform->getAuthSQL('r').' and';
                $sql_where = $app->tform->getAuthSQL('r', $app->listform->listDef['table']).' and';
                //$sql_where = $app->tform->getAuthSQL('r').' and';
            }
        }        
        if($this->SQLExtWhere != '') {