Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Admin/User): fix totalcount for quick filter with email address
Browse files Browse the repository at this point in the history
  • Loading branch information
pschuele committed Mar 1, 2023
1 parent daa98d3 commit bccedfe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tine20/Tinebase/User/Sql.php
Expand Up @@ -233,11 +233,12 @@ public function getUsersCount($_filter = null)

if (!empty($_filter)) {
$whereStatement = array();
$defaultValues = array(
$defaultValues = [
$this->rowNameMapping['accountLastName'],
$this->rowNameMapping['accountFirstName'],
$this->rowNameMapping['accountLoginName']
);
$this->rowNameMapping['accountLoginName'],
$this->rowNameMapping['accountEmailAddress'],
];

// prepare for case insensitive search
foreach ($defaultValues as $defaultValue) {
Expand Down

0 comments on commit bccedfe

Please sign in to comment.