Fixed advanced selector tag not narrowing results when it had a value
This commit is contained in:
parent
9de8677cc1
commit
60971d4abe
2 changed files with 3 additions and 2 deletions
|
@ -160,7 +160,7 @@ public class XMLPatcher {
|
|||
}
|
||||
}
|
||||
searchValue = selectorNode.getTextTrim(); // Never null, but often "".
|
||||
if ( searchValue.length() > 0 ) searchValue = null;
|
||||
if ( searchValue.length() == 0 ) searchValue = null;
|
||||
}
|
||||
|
||||
LikeFilter searchFilter = new LikeFilter( searchType, attrMap, searchValue );
|
||||
|
@ -210,7 +210,7 @@ public class XMLPatcher {
|
|||
}
|
||||
}
|
||||
searchValue = selectorNode.getTextTrim(); // Never null, but often "".
|
||||
if ( searchValue.length() > 0 ) searchValue = null;
|
||||
if ( searchValue.length() == 0 ) searchValue = null;
|
||||
}
|
||||
|
||||
LikeFilter searchChildFilter = new LikeFilter( searchChildType, attrMap, searchValue );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue