Skip to content
Snippets Groups Projects
Commit bc74a44c authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix opening search results for comments


"OC.dirname" removes everything after the last "/", so a path without
slashes is returned without changes. "result.path" does not include
leading nor trailing "/", so when the path is for a file or folder in
the base folder "OC.dirname(result.path)" returns "result.path".

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 4566670f
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
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