Search results are filtered by server. Don't filter a second time.
authorStephen Colebrook <scolebrook@mac.com>
Wed, 25 May 2016 22:52:33 +0000 (18:52 -0400)
committerKlaas Freitag <freitag@owncloud.com>
Tue, 31 May 2016 07:46:52 +0000 (09:46 +0200)
Also allows searching on attributes other than displayname in ldap
configurations. Search results match web and mobile apps.

src/gui/shareusergroupwidget.cpp

index c7f4988e7fb59588215a7655f0dd7dbedb1016f3..a2b9a5d9f51f4d88ca72ce4472c74d36c70285e4 100644 (file)
@@ -72,9 +72,7 @@ ShareUserGroupWidget::ShareUserGroupWidget(AccountPtr account,
 
     _completer->setModel(_completerModel);
     _completer->setCaseSensitivity(Qt::CaseInsensitive);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)
-    _completer->setFilterMode(Qt::MatchContains);
-#endif
+    _completer->setCompletionMode(QCompleter::UnfilteredPopupCompletion);
     _ui->shareeLineEdit->setCompleter(_completer);
 
     _manager = new ShareManager(_account, this);