Skip to content
Snippets Groups Projects
Commit 0e2f51bb authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

fix '' to '/' when determining parent for search result

parent 6c174813
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,9 @@ OC.search.showResults=function(results){
if (type[i].path) {
var parent = OC.dirname(type[i].path);
if (parent === '') {
parent = '/';
}
var containerName = OC.basename(parent);
if (containerName === '') {
containerName = '/';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment