Skip to content

Commit

Permalink
dont remove $6 during presearch
Browse files Browse the repository at this point in the history
  • Loading branch information
tventimi committed Sep 20, 2023
1 parent cd50404 commit 63398ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudapp/src/app/main/bib-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class BibUtils {
}
fieldTable.set(id,mdf);
}
unmatched.forEach((tag,id) => {
unmatched.forEach((tag,id) => {
let mdf = fieldTable.get(id);
mdf.hasParallel = false
fieldTable.set(id,mdf)
Expand Down
4 changes: 3 additions & 1 deletion cloudapp/src/app/main/main.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ export class MainComponent implements OnInit, OnDestroy {
}
placeholder_tag = t.substring(0,3)
}
field.deleteSubfield("61")
if(!presearch) {
field.deleteSubfield("61")
}
let parallel_field = new MarcDataField("880",field.ind1,field.ind2);
let seqno = this.findUnusedLinkage();
let seq = placeholder_tag + "-" + seqno;
Expand Down

0 comments on commit 63398ba

Please sign in to comment.