getinv, and friends don't work with hidden folders
Issue #116
new
@getinv:.somefolder=1
doesn't return any matches, removing the . from the folder and the query does work.
It doesn't really make sense to hide folders from queries. I have assumed that we can look into a hidden folder for the system I scripted, simply because other systems don't need to interact with the items there, but mine does. There's no reason to clutter other scripts' queries then. Obviously folders in the folder specified, beginning with a dot, should be ignored, as the API documentation states, but it makes no sense to ignore a folder when it is specified in the path.
Comments (2)
-
reporter -
reporter Possible, untested fix: https://bitbucket.org/marinekelley/rlv/pull-requests/76/remove-check-for-hidden-folder-in/diff
- Log in to comment
So, I figured this is most likely due to
https://bitbucket.org/marinekelley/rlv/src/319da86ea2f008f29b0226e9b068f05fa5da2041/indra/newview/RRInterface.cpp?at=default&fileviewer=file-view-default#RRInterface.cpp-2620
Specifically checking if name starts with
.
, while descending down a predefined list of tokens.name[0] != '.'