Skip to content

Commit

Permalink
Force language search even more
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Nov 8, 2024
1 parent 6cee800 commit eed1a08
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public JSONObject findObjectByGlobalObjectId(String globalObjectId) throws IOExc
put("in", new JSONArray() {{
put(globalObjectId);
}});
put("language", "en");
put("language", "en-US");
}});
}});
}};
Expand Down Expand Up @@ -382,6 +382,7 @@ public JSONObject searchByString(String searchString, ArrayList<String> fields,
superSuperSearch.put(superSearch);
JSONObject query = new JSONObject();
query.put("type", "object");
query.put("language", "en-US");
query.put("objecttypes", new JSONArray(new String[]{objectType}));
query.put("search", superSuperSearch);

Expand Down

0 comments on commit eed1a08

Please sign in to comment.