From 763b142db70ce77952cb46cfccf84d9800f15651 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 11 Mar 2013 19:49:20 +0100 Subject: websocket login via session, websocket pushes server status, webui renders server status --- module/api/FileApi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/api/FileApi.py') diff --git a/module/api/FileApi.py b/module/api/FileApi.py index 8f09f3cb7..a5d5a8535 100644 --- a/module/api/FileApi.py +++ b/module/api/FileApi.py @@ -80,7 +80,7 @@ class FileApi(ApiComponent): @RequirePerm(Permission.All) def searchSuggestions(self, pattern): - names = self.core.db.getMatchingFilenames(pattern, self.userHandle) + names = self.core.db.getMatchingFilenames(pattern, self.primaryUID) # TODO: stemming and reducing the names to provide better suggestions return uniqify(names) -- cgit v1.2.3