1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Fixed LocalSearch.addAllowedFolder()

We need to use the node returned by add() as new root node.
This commit is contained in:
cketti 2012-10-16 22:51:01 +02:00
parent 502771dd0e
commit fff94956f4

View File

@ -261,7 +261,7 @@ public class LocalSearch implements SearchSpecification {
* - do and on root of it & rest of search * - do and on root of it & rest of search
* - do or between folder nodes * - do or between folder nodes
*/ */
and(new SearchCondition(SEARCHFIELD.FOLDER, ATTRIBUTE.EQUALS, name)); mConditions = and(new SearchCondition(SEARCHFIELD.FOLDER, ATTRIBUTE.EQUALS, name));
} }
/* /*