Skip to content

Commit

Permalink
Adjust row indexes (#3644)
Browse files Browse the repository at this point in the history
  • Loading branch information
sviatlana-stsiapanava committed May 22, 2024
1 parent abe99ce commit c795547
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 155 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('MARC', () => {

const linkingTagAndValues = [
{
rowIndex: 86,
rowIndex: 85,
value: 'C388642 Lee, Stan, 1922-2018,',
tag: 700,
boxFourth: '$a C388642 Lee, Stan, $d 1922-2018',
Expand All @@ -46,7 +46,7 @@ describe('MARC', () => {
boxSeventh: '',
},
{
rowIndex: 88,
rowIndex: 87,
value: 'C388642 Robinson & Associates, Inc.',
tag: 710,
boxFourth: '$a C388642 Robinson & Associates, Inc.',
Expand All @@ -55,7 +55,7 @@ describe('MARC', () => {
boxSeventh: '',
},
{
rowIndex: 89,
rowIndex: 88,
value:
'C388642 Delaware Symposium on Language Studies. Delaware symposia on language studies 1985',
tag: 711,
Expand All @@ -66,7 +66,7 @@ describe('MARC', () => {
boxSeventh: '',
},
{
rowIndex: 90,
rowIndex: 89,
value: 'C388642 Gone with the wind (Motion picture : 1939)',
tag: 730,
boxFourth: '$a C388642 Gone with the wind $f 1939) $g (Motion picture :',
Expand All @@ -78,83 +78,83 @@ describe('MARC', () => {

const fields = [
{
rowIndex: 33,
rowIndex: 32,
tag: '100',
naturalId: 'n20080010849',
newContent: '$a Coates, Ta-Nehisi, $eauthor. $0 n2008001084',
},
{
rowIndex: 34,
rowIndex: 33,
tag: '110',
naturalId: 'no20061082779',
},
{
rowIndex: 35,
rowIndex: 34,
tag: '111',
naturalId: 'no20091764299',
},
{
rowIndex: 36,
rowIndex: 35,
tag: '130',
naturalId: 'n800269809',
},
{
rowIndex: 37,
rowIndex: 36,
tag: '240',
naturalId: 'no20200242309',
},
{
rowIndex: 65,
rowIndex: 64,
tag: '600',
naturalId: 'n20160040819',
},
{
rowIndex: 60,
rowIndex: 59,
tag: '610',
naturalId: 'nb20090244889',
},
{
rowIndex: 61,
rowIndex: 60,
tag: '611',
naturalId: 'n822167579',
},
{
rowIndex: 62,
rowIndex: 61,
tag: '630',
naturalId: 'no20230068899',
},
{
rowIndex: 67,
rowIndex: 66,
tag: '650',
naturalId: 'sh20091259899',
},
{
rowIndex: 71,
rowIndex: 70,
tag: '651',
naturalId: 'sh850015319',
},
{
rowIndex: 73,
rowIndex: 72,
tag: '655',
naturalId: 'gf20140262669',
},
{
rowIndex: 91,
rowIndex: 90,
tag: '800',
naturalId: 'n790238119',
},
{
rowIndex: 92,
rowIndex: 91,
tag: '810',
naturalId: 'n800955859',
},
{
rowIndex: 93,
rowIndex: 92,
tag: '811',
naturalId: 'no20181255879',
},
{
rowIndex: 94,
rowIndex: 93,
tag: '830',
naturalId: 'no20180187549',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('MARC', () => {

const preLinkedFields = [
{
rowIndex: 86,
rowIndex: 85,
value: 'C388641 Lee, Stan, 1922-2018,',
tag: 700,
boxFourth: '$a C388641 Lee, Stan, $d 1922-2018',
Expand All @@ -65,7 +65,7 @@ describe('MARC', () => {
boxSeventh: '',
},
{
rowIndex: 88,
rowIndex: 87,
value: 'C388641 Robinson & Associates, Inc.',
tag: 710,
boxFourth: '$a C388641 Robinson & Associates, Inc.',
Expand All @@ -74,7 +74,7 @@ describe('MARC', () => {
boxSeventh: '',
},
{
rowIndex: 89,
rowIndex: 88,
value:
'C388641 Delaware Symposium on Language Studies. Delaware symposia on language studies 1985',
tag: 711,
Expand All @@ -85,7 +85,7 @@ describe('MARC', () => {
boxSeventh: '',
},
{
rowIndex: 90,
rowIndex: 89,
value: 'C388641 Gone with the wind (Motion picture : 1939)',
tag: 730,
boxFourth: '$a C388641 Gone with the wind $f 1939) $g (Motion picture :',
Expand All @@ -97,82 +97,82 @@ describe('MARC', () => {

const linkedFields = [
{
rowIndex: 33,
rowIndex: 32,
tag: '100',
naturalId: 'n2008001084C388641',
},
{
rowIndex: 34,
rowIndex: 33,
tag: '110',
naturalId: 'no2006108277C388641',
},
{
rowIndex: 35,
rowIndex: 34,
tag: '111',
naturalId: 'no2009176429C388641',
},
{
rowIndex: 36,
rowIndex: 35,
tag: '130',
naturalId: 'n80026980C388641',
},
{
rowIndex: 37,
rowIndex: 36,
tag: '240',
naturalId: 'no2020024230C388641',
},
{
rowIndex: 65,
rowIndex: 64,
tag: '600',
naturalId: 'n2016004081C388641',
},
{
rowIndex: 60,
rowIndex: 59,
tag: '610',
naturalId: 'nb2009024488C388641',
},
{
rowIndex: 61,
rowIndex: 60,
tag: '611',
naturalId: 'n82216757C388641',
},
{
rowIndex: 62,
rowIndex: 61,
tag: '630',
naturalId: 'no2023006889C388641',
},
{
rowIndex: 67,
rowIndex: 66,
tag: '650',
naturalId: 'sh2009125989C388641',
},
{
rowIndex: 71,
rowIndex: 70,
tag: '651',
naturalId: 'sh85001531C388641',
},
{
rowIndex: 73,
rowIndex: 72,
tag: '655',
naturalId: 'gf2014026266C388641',
},
{
rowIndex: 91,
rowIndex: 90,
tag: '800',
naturalId: 'n79023811C388641',
},
{
rowIndex: 92,
rowIndex: 91,
tag: '810',
naturalId: 'n80095585C388641',
},
{
rowIndex: 93,
rowIndex: 92,
tag: '811',
naturalId: 'no2018125587C388641',
},
{
rowIndex: 94,
rowIndex: 93,
tag: '830',
naturalId: 'no2018018754C388641',
},
Expand Down
Loading

0 comments on commit c795547

Please sign in to comment.