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:
Stephen Colebrook 2016-05-25 18:52:33 -04:00 committed by Klaas Freitag
parent a507558dee
commit af2b712dc6

View file

@ -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);