Commit dc434585 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

services: fix mapping of control field 008 (DFB)

parent 8993ea3b
......@@ -22,9 +22,8 @@ public class DFBMarcMapper extends MARCMapper {
protected final boolean handleControlFieldHook(ControlField controlField, Work work, Publication publication) {
if (controlField.getTag().equals("001")) {
getControlFieldValue(controlField).ifPresent(publication::setCataloguingSourceIdentifier);
return true;
} else {
return false;
}
return true;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment