Skip to content

Commit

Permalink
Merge branch 'master' into stag-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Jun 26, 2024
2 parents 0fd676d + cb04399 commit fd6cdf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ public void addHighlights(Map<String, List<String>> highlights) {
public Object getSort() { return sort; }

public void addSort(ArrayList<Object> sort) {

if(!sort.isEmpty()) {
if (MapUtils.isEmpty(this.highlights)) {
this.sort = new ArrayList<>();
}
if (sort.isEmpty()) {
this.sort = null;
} else {
this.sort = sort;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public class EntityREST {
private static final int TWO_MILLION = HUNDRED_THOUSAND * 10 * 2;
private static final Set<String> ATTRS_WITH_TWO_MILLION_LIMIT = new HashSet<String>() {{
add("rawQueryText");
add("variablesSchemaBase64");
add("visualBuilderSchemaBase64");
}};


Expand Down

0 comments on commit fd6cdf5

Please sign in to comment.