Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 95bd883

Browse files
committed
Remove change_log from search endpoint, including xml export
1 parent 22c14a3 commit 95bd883

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/gov/osti/services/SearchService.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ class PropertyFilterMixIn {}
115115
"licenseContactEmail",
116116
"license_contact_email",
117117
"isMigration",
118-
"is_migration"
118+
"is_migration",
119+
"changeLog",
120+
"change_log"
119121
};
120122
protected static FilterProvider filter = new SimpleFilterProvider()
121123
.addFilter("filter properties by name",
@@ -320,6 +322,7 @@ public Response getSingleRecord(@PathParam("codeId") Long codeId, @QueryParam("f
320322
.writer(filter).writeValueAsString(md))
321323
.build();
322324
} else if ("xml".equals(format)) {
325+
md.setChangeLog(null);
323326
return Response
324327
.ok()
325328
.header("Content-Type", MediaType.APPLICATION_XML)

0 commit comments

Comments
 (0)