Fix issue where partially filled KeyValue fields were not searched in HistoryPane

This commit is contained in:
Rohit Awate 2018-08-24 22:40:22 +05:30
parent 94db944e28
commit fcdfed793e
No known key found for this signature in database
GPG key ID: 1051D7B79CF2EE25
4 changed files with 5 additions and 5 deletions

View file

@ -539,7 +539,7 @@ public class DashboardController implements Initializable {
ArrayList<FieldState> states = new ArrayList<>();
for (StringKeyValueFieldController controller : paramsControllers) {
if (!controller.isKeyFieldEmpty() && !controller.isValueFieldEmpty())
if (!(controller.isKeyFieldEmpty() && controller.isValueFieldEmpty()))
states.add(controller.getState());
}

View file

@ -214,7 +214,7 @@ public class FormDataTabController implements Initializable {
ArrayList<FieldState> states = new ArrayList<>();
for (StringKeyValueFieldController controller : stringControllers) {
if (!controller.isKeyFieldEmpty() && !controller.isValueFieldEmpty())
if (!(controller.isKeyFieldEmpty() && controller.isValueFieldEmpty()))
states.add(controller.getState());
}
@ -229,7 +229,7 @@ public class FormDataTabController implements Initializable {
ArrayList<FieldState> states = new ArrayList<>();
for (FileKeyValueFieldController controller : fileControllers) {
if (!controller.isFileKeyFieldEmpty() && !controller.isFileValueFieldEmpty())
if (!(controller.isFileKeyFieldEmpty() && controller.isFileValueFieldEmpty()))
states.add(controller.getState());
}

View file

@ -133,7 +133,7 @@ public class HeaderTabController implements Initializable {
ArrayList<FieldState> states = new ArrayList<>();
for (StringKeyValueFieldController controller : controllers) {
if (!controller.isKeyFieldEmpty() && !controller.isValueFieldEmpty())
if (!(controller.isKeyFieldEmpty() && controller.isValueFieldEmpty()))
states.add(controller.getState());
}

View file

@ -134,7 +134,7 @@ public class URLTabController implements Initializable {
ArrayList<FieldState> states = new ArrayList<>();
for (StringKeyValueFieldController controller : controllers) {
if (!controller.isKeyFieldEmpty() && !controller.isValueFieldEmpty())
if (!(controller.isKeyFieldEmpty() && controller.isValueFieldEmpty()))
states.add(controller.getState());
}