Omit if set to false

This commit is contained in:
Tadgh 2021-08-12 19:12:09 -04:00
parent 669cf05b30
commit 3fd5f7d6d4
1 changed files with 2 additions and 1 deletions

View File

@ -512,7 +512,8 @@ public class SearchParameterMap implements Serializable {
}
//Contained mode
if (getSearchContainedMode() != null) {
//For some reason, instead of null here, we default to false. That said, ommitting it is identical to setting it to false.
if (getSearchContainedMode() != SearchContainedModeEnum.FALSE) {
addUrlParamSeparator(b);
b.append(Constants.PARAM_CONTAINED);
b.append("=");