Skip to content

Commit

Permalink
MODBULKOPS-428 - Apply changes - MARC Bib records with administrative…
Browse files Browse the repository at this point in the history
… data
  • Loading branch information
siarhei-charniak authored and Siarhei Charniak committed Jan 13, 2025
1 parent 0509903 commit 13fb1ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.folio.bulkops.util;

import static org.folio.bulkops.domain.dto.EntityType.INSTANCE;
import static org.folio.bulkops.domain.dto.EntityType.INSTANCE_MARC;
import static org.folio.bulkops.domain.dto.EntityType.USER;
import static org.folio.bulkops.domain.dto.UpdateOptionType.ADMINISTRATIVE_NOTE;
import static org.folio.bulkops.domain.dto.UpdateOptionType.CHECK_IN_NOTE;
Expand Down Expand Up @@ -60,7 +61,7 @@ public static String getFieldByUpdateOptionType(UpdateOptionType type, EntityTyp
return "Status";
} else if (SUPPRESS_FROM_DISCOVERY == type && entity != USER) {
return "Suppress from discovery";
} else if (STAFF_SUPPRESS == type && INSTANCE == entity) {
} else if (STAFF_SUPPRESS == type && Set.of(INSTANCE, INSTANCE_MARC).contains(entity)) {
return "Staff suppress";
} else if (ITEM_NOTE == type) {
return "Notes";
Expand Down

0 comments on commit 13fb1ae

Please sign in to comment.