You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($internalRootLength === 0 or substr($result['path'], 0, $internalRootLength) === $internalPath) {
if ($internalRootLength === 0 or substr($result['path'], 0, $internalRootLength) === $internalPath) {
with
$internalPath = rtrim($internalPath, '/') . '/'; <------- Minimum size is 1
$internalRootLength = strlen($internalPath) = 1
which can never match 0
oparoz
changed the title
Node API: searchByMime doesn't work properly on external shares
Node API: search operations don't work on the top folder of external shares
Oct 2, 2015
Steps to reproduce
Expected result
An array full of Files
Actual result
An empty result
Notes
Querying a sub-folder works...
@icewind1991 @PVince81
The text was updated successfully, but these errors were encountered: