diff options
| author | 2013-03-11 19:49:20 +0100 | |
|---|---|---|
| committer | 2013-03-11 19:50:54 +0100 | |
| commit | 763b142db70ce77952cb46cfccf84d9800f15651 (patch) | |
| tree | d2636e48766d365bd8a9d079de603b127ab88744 /module/api/FileApi.py | |
| parent | Merge pull request #33 from stickell/patch-3 (diff) | |
| download | pyload-763b142db70ce77952cb46cfccf84d9800f15651.tar.xz | |
websocket login via session, websocket pushes server status, webui renders server status
Diffstat (limited to 'module/api/FileApi.py')
| -rw-r--r-- | module/api/FileApi.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
