Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scc 4417/format filters #428

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions __test__/fixtures/bibFixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export const bibWithItems = {
},
],
lccClassification: ["IN PROCESS"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -903,7 +903,7 @@ export const bibNoItems = {
},
],
lccClassification: ["IN PROCESS"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -2655,7 +2655,7 @@ export const bibWithManyItems = {
prefLabel: "Chinese",
},
],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -3127,7 +3127,7 @@ export const bibWithSupplementaryContent = {
},
],
lccClassification: ["FICTION WAT"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -6525,7 +6525,7 @@ export const parallelsBib = {
},
],
lccClassification: ["DR1932 .P68"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -7660,7 +7660,7 @@ export const noParallels = {
},
],
lccClassification: ["PQ2663.O7223 Z46 2005"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -8217,7 +8217,7 @@ export const yiddishBib = {
},
],
lccClassification: ["DS135.R93 K42 1968"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -11223,7 +11223,7 @@ export const bibManyEResources = {
prefLabel: "French",
},
],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down Expand Up @@ -11446,7 +11446,7 @@ export const bibWithSubjectHeadings = {
},
],
lccClassification: ["PQ2663.O7223 Z46 2005"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down
20 changes: 10 additions & 10 deletions __test__/fixtures/rawSierraAccountData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ export const checkoutBibs = {
},
title: "Good night, Little Fish",
author: "Cousins, Lucy, author.",
materialType: {
recordType: {
code: "a ",
value: "BOOK/TEXT",
},
Expand Down Expand Up @@ -1499,7 +1499,7 @@ export const checkoutBibs = {
},
title: "Fish, fish, fish",
author: "Adams, Georgie.",
materialType: {
recordType: {
code: "a ",
value: "BOOK/TEXT",
},
Expand Down Expand Up @@ -1852,7 +1852,7 @@ export const checkoutBibs = {
},
title: "test 5/6 01",
author: "Spaghetti Monster",
materialType: {
recordType: {
code: "- ",
value: "MISC",
},
Expand Down Expand Up @@ -1904,7 +1904,7 @@ export const checkoutBibs = {
title:
"[Standard NYPL restrictions apply] HOF HA-KELAVIM HA-MESHUHRARIM = THE BEACH OF FREE DOGS / AVRON POLAKOW. [RECAP]",
author: "Polakow, Avron, author.",
materialType: {
recordType: {
code: "- ",
value: "MISC",
},
Expand Down Expand Up @@ -1983,7 +1983,7 @@ export const holdBibs = {
},
title: "Spaghetti!",
author: "Cortanze, Gérard de.",
materialType: {
recordType: {
code: "a ",
value: "BOOK/TEXT",
},
Expand Down Expand Up @@ -2466,7 +2466,7 @@ export const holdBibs = {
},
title: "The house of mirth : large print",
author: "Wharton, Edith, 1862-1937.",
materialType: {
recordType: {
code: "l ",
value: "LARGE PRINT",
},
Expand Down Expand Up @@ -3154,7 +3154,7 @@ export const holdBibs = {
},
title: "I want to be spaghetti!",
author: "Wright-Ruiz, Kiera, author.",
materialType: {
recordType: {
code: "a ",
value: "BOOK/TEXT",
},
Expand Down Expand Up @@ -3862,7 +3862,7 @@ export const holdBibs = {
},
title: "Partner record",
author: "Spaghetti Monster",
materialType: {
recordType: {
code: "- ",
value: "MISC",
},
Expand Down Expand Up @@ -3912,7 +3912,7 @@ export const holdBibs = {
lang: { code: "eng", name: "English" },
title: "Pasta every day : make it, shape it, sauce it, eat it",
author: "Feinstein, Meryl, author.",
materialType: { code: "a ", value: "BOOK/TEXT" },
recordType: { code: "a ", value: "BOOK/TEXT" },
bibLevel: { code: "m", value: "MONOGRAPH" },
publishYear: 2023,
catalogDate: "2023-11-22",
Expand Down Expand Up @@ -3975,7 +3975,7 @@ export const holds = {
},
title: "Pasta every day : make it, shape it, sauce it, eat it",
author: "Feinstein, Meryl, author.",
materialType: {
recordType: {
code: "a ",
value: "BOOK/TEXT",
},
Expand Down
6 changes: 3 additions & 3 deletions __test__/fixtures/searchResultElectronicResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const searchResultElectronicResources = {
},
],
lccClassification: ["PQ4916.E778 S63 2019"],
materialType: [
recordType: [
{
"@id": "resourcetypes:aud",
prefLabel: "Audio",
Expand Down Expand Up @@ -189,7 +189,7 @@ export const searchResultElectronicResourcesNoLabel = {
},
],
lccClassification: ["PQ4916.E778 S63 2019"],
materialType: [
recordType: [
{
"@id": "resourcetypes:aud",
prefLabel: "Audio",
Expand Down Expand Up @@ -311,7 +311,7 @@ export const searchResultMultipleElectronicResources = {
},
],
lccClassification: ["PQ4916.E778 S63 2019"],
materialType: [
recordType: [
{
"@id": "resourcetypes:aud",
prefLabel: "Audio",
Expand Down
2 changes: 1 addition & 1 deletion __test__/fixtures/searchResultManyPhysicalItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export const searchResultManyPhysicalItems = {
prefLabel: "English",
},
],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Text",
Expand Down
2 changes: 1 addition & 1 deletion __test__/fixtures/searchResultPhysicalItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const searchResultPhysicalItems = {
},
],
lccClassification: ["TS2157 .P7"],
materialType: [
recordType: [
{
"@id": "resourcetypes:txt",
prefLabel: "Material",
Expand Down
Loading
Loading