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
|
@ -3,6 +3,7 @@ Changelog
|
||||||
???:
|
???:
|
||||||
- Added "Return FTL to an unmodded state before switching to a new version"
|
- Added "Return FTL to an unmodded state before switching to a new version"
|
||||||
- Fixed advanced find tags' panic arg (was "true" all the time)
|
- Fixed advanced find tags' panic arg (was "true" all the time)
|
||||||
|
- Fixed advanced selector tag not narrowing results when it had a value
|
||||||
- Fixed perpetually green "Update" button
|
- Fixed perpetually green "Update" button
|
||||||
|
|
||||||
1.2:
|
1.2:
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class XMLPatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
searchValue = selectorNode.getTextTrim(); // Never null, but often "".
|
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 );
|
LikeFilter searchFilter = new LikeFilter( searchType, attrMap, searchValue );
|
||||||
|
@ -210,7 +210,7 @@ public class XMLPatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
searchValue = selectorNode.getTextTrim(); // Never null, but often "".
|
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 );
|
LikeFilter searchChildFilter = new LikeFilter( searchChildType, attrMap, searchValue );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue