Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1057 from aduffeck/ocis-search-results
Browse files Browse the repository at this point in the history
Do not skip ocis search results
  • Loading branch information
fschade authored May 2, 2022
2 parents ddba559 + 277d588 commit 6c43088
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helperFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ class helpers {

const remoteIndex = pathSections.findIndex(section => decodeURIComponent(section) === 'remote.php')
if (remoteIndex === -1) {
return null
// this is a ocis search result following the '/dav/spaces/' URL scheme. return as is.
return path
}
if (['webdav', 'dav'].indexOf(decodeURIComponent(pathSections[remoteIndex + 1])) === -1) {
return null
Expand Down

0 comments on commit 6c43088

Please sign in to comment.