mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
added structures for generic turtle search and access functions in Gxs objects
This commit is contained in:
parent
b5c1b8210b
commit
7caf06b57d
31 changed files with 513 additions and 262 deletions
|
@ -190,9 +190,9 @@ void FileSearchHandler::handleCreateSearch(Request &req, Response &resp)
|
|||
// i have no idea what the reasons for two different search modes are
|
||||
// rs-gui does it, so do we
|
||||
if(words.size() == 1)
|
||||
search_id = mTurtle->turtleSearch(words.front());
|
||||
search_id = rsFiles->turtleSearch(words.front());
|
||||
else
|
||||
search_id = mTurtle->turtleSearch(lin_exp);
|
||||
search_id = rsFiles->turtleSearch(lin_exp);
|
||||
}
|
||||
|
||||
std::list<FileDetail> results;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue