Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable14] Fix opening search results for comments #13254

Merged
merged 3 commits into from
Jan 3, 2019

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #13227

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
"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: Daniel Calviño Sánchez <danxuliu@gmail.com>
@rullzer rullzer requested a review from MorrisJobke January 3, 2019 10:36
@rullzer rullzer added this to the Nextcloud 14.0.5 milestone Jan 3, 2019
@rullzer rullzer added the 3. to review Waiting for reviews label Jan 3, 2019
@rullzer rullzer merged commit 4db95a8 into stable14 Jan 3, 2019
@rullzer rullzer deleted the backport/13227/stable14 branch January 3, 2019 10:37
@MorrisJobke MorrisJobke mentioned this pull request Jan 4, 2019
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants