Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Classes/Domain/Repository/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ protected function filterBySearchword(array $filter, QueryInterface $query, arra
$orConditions[] = $query->like('email', '%' . $searchword . '%');
$orConditions[] = $query->like('fax', '%' . $searchword . '%');
$orConditions[] = $query->like('first_name', '%' . $searchword . '%');
$orConditions[] = $query->like('image', '%' . $searchword . '%');
$orConditions[] = $query->like('last_name', '%' . $searchword . '%');
$orConditions[] = $query->like('middle_name', '%' . $searchword . '%');
$orConditions[] = $query->like('name', '%' . $searchword . '%');
Expand Down Expand Up @@ -262,7 +261,7 @@ protected function filterByUserConfirmation(array $and, QueryInterface $query, b
protected function getTreeList($pageIdentifier): array
{
$pageTreeService = GeneralUtility::makeInstance(PageTreeService::class);
$treeList = $pageTreeService->getTreeList($pageIdentifier, 99, 0, '1');
$treeList = $pageTreeService->getTreeList($pageIdentifier, 99);

return GeneralUtility::trimExplode(',', (string)$treeList, true);
}
Expand Down
2 changes: 1 addition & 1 deletion Classes/UserFunc/UserOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function getPageUidList(array $params): string
$pageTreeService = GeneralUtility::makeInstance(PageTreeService::class);
$depth = $params['flexParentDatabaseRow']['recursive'];
foreach ($this->getPages($params) as $pageIdentifier) {
$list .= $pageTreeService->getTreeList($pageIdentifier, $depth, 0, '1');
$list .= $pageTreeService->getTreeList($pageIdentifier, $depth);
$list .= ',';
}

Expand Down
2 changes: 1 addition & 1 deletion Configuration/TypoScript/Main/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ plugin.tx_femanager {
list {
filter {
searchword {
fieldsToSearch = address, city, company, country, email, fax, first_name, image, last_name, middle_name, name, telephone, title, usergroup.title, username, www, zip
fieldsToSearch = address, city, company, country, email, fax, first_name, last_name, middle_name, name, telephone, title, usergroup.title, username, www, zip
}
}
}
Expand Down
Loading