Skip to content

Commit

Permalink
Search / Avoid NPE when filtering withheld elements. We always need t…
Browse files Browse the repository at this point in the history
…he documentStandard field to check the schema config.
  • Loading branch information
fxprunayre committed Jun 6, 2023
1 parent e0cb16b commit 0764c53
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ public void call(ServiceContext context, HttpSession httpSession, HttpServletReq
*/
private void addRequiredField(ArrayNode source) {
source.add("op*");
source.add(Geonet.IndexFieldNames.SCHEMA);
source.add(Geonet.IndexFieldNames.GROUP_OWNER);
source.add(Geonet.IndexFieldNames.OWNER);
source.add(Geonet.IndexFieldNames.ID);
Expand Down

0 comments on commit 0764c53

Please sign in to comment.