Skip to content

Commit

Permalink
#3135 Accounts: ability to filter accounts without profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlesnikov committed Feb 1, 2021
1 parent 5aa6068 commit 707e022
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/boonex/accounts/classes/BxAccntGridAdministration.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ protected function _getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPe
if(!empty($this->_sFilter2Value))
$this->_aOptions['source'] .= $this->_oModule->_oDb->prepareAsString(" AND `ta`.`role` & " . BX_DOL_ROLE_ADMIN ." = " . BX_DOL_ROLE_ADMIN);

$this->_aOptions['source'] .= " AND `ta`.`email` <> '' ";

return parent::_getDataSqlInner($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
}

Expand Down

0 comments on commit 707e022

Please sign in to comment.