mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Search results are filtered by server. Don't filter a second time.
Also allows searching on attributes other than displayname in ldap configurations. Search results match web and mobile apps.
This commit is contained in:
parent
a507558dee
commit
af2b712dc6
1 changed files with 1 additions and 3 deletions
|
@ -72,9 +72,7 @@ ShareUserGroupWidget::ShareUserGroupWidget(AccountPtr account,
|
||||||
|
|
||||||
_completer->setModel(_completerModel);
|
_completer->setModel(_completerModel);
|
||||||
_completer->setCaseSensitivity(Qt::CaseInsensitive);
|
_completer->setCaseSensitivity(Qt::CaseInsensitive);
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
|
_completer->setCompletionMode(QCompleter::UnfilteredPopupCompletion);
|
||||||
_completer->setFilterMode(Qt::MatchContains);
|
|
||||||
#endif
|
|
||||||
_ui->shareeLineEdit->setCompleter(_completer);
|
_ui->shareeLineEdit->setCompleter(_completer);
|
||||||
|
|
||||||
_manager = new ShareManager(_account, this);
|
_manager = new ShareManager(_account, this);
|
||||||
|
|
Loading…
Reference in a new issue