Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix listing user on 8.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Feb 11, 2020
1 parent ff5d935 commit 31cb4fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/core/src/pydio/Core/Model/FilteredUsersList.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,10 @@ public function load($filterValue, $allowCreation = true, $searchQuery = '', $gr
$searchLimit = min($end - $offset, $this->getConf('USERS_LIST_COMPLETE_LIMIT'));
}
$baseGroup = $this->computeBaseGroup($groupPathFilter, $searchQuery);
$baseGroup = rtrim($baseGroup, '/');

if ($baseGroup != '/'){
$baseGroup = rtrim($baseGroup, '/');
}

if(!empty($searchQuery)) {
$regexp = '^'.$searchQuery;
$pregexp = '/^'.preg_quote($searchQuery).'/i';
Expand Down

0 comments on commit 31cb4fe

Please sign in to comment.