Skip to content

[stable14] Fix opening search results for comments - #13254

Merged
rullzer merged 3 commits into
stable14from
backport/13227/stable14
Jan 3, 2019
Merged

[stable14] Fix opening search results for comments#13254
rullzer merged 3 commits into
stable14from
backport/13227/stable14

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

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>
@rullzerrullzer added this to the Nextcloud 14.0.5 milestone Jan 3, 2019
@rullzerrullzer added the 3. to review Waiting for reviews label Jan 3, 2019
@rullzer
rullzer merged commit 4db95a8 into stable14Jan 3, 2019
@rullzer
rullzer deleted the backport/13227/stable14 branch January 3, 2019 10:37
@MorrisJobkeMorrisJobke mentioned this pull request Jan 4, 2019
3 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@skjnldsv@danxuliu