From d8f91b0e8258c72d131b9798182c60f8a56f4270 Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma <rullzer@owncloud.com>
Date: Tue, 16 Feb 2016 16:23:09 +0100
Subject: [PATCH] Allow searching for single user

---
 core/js/sharedialogview.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index e7435877cb3..f5ba3639e06 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -323,7 +323,7 @@
 			var $shareField = this.$el.find('.shareWithField');
 			if ($shareField.length) {
 				$shareField.autocomplete({
-					minLength: 2,
+					minLength: 1,
 					delay: 750,
 					focus: function(event) {
 						event.preventDefault();
-- 
GitLab