diff --git a/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.spec.js b/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.spec.js index 524665cdab..ee202a0b24 100644 --- a/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.spec.js +++ b/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.spec.js @@ -14,7 +14,7 @@ describe('Components > Subject Picker', function () { const dataTable = screen.getByRole('table') const [ tableHeader, tableContent ] = within(dataTable).getAllByRole('rowgroup') columnHeadings = within(tableHeader).getByRole('row', { - name: 'subject_id date FormSearch title FormSearch creators FormSearch status' + name: 'subject_id date FormSearch page FormSearch status' }) const subjects = [ '23 January 1916', diff --git a/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.stories.js b/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.stories.js index 2203a7eb5e..b62a9b59dd 100644 --- a/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.stories.js +++ b/packages/app-project/src/shared/components/SubjectPicker/SubjectPicker.stories.js @@ -64,7 +64,7 @@ Default.args = { id: '15582', display_name: 'Anti-Slavery Letters: 1800-1839', metadata: { - indexFields: 'date,title,creators' + indexFields: 'date,page' } }, workflow: { @@ -86,7 +86,7 @@ Tablet.args = { id: '15582', display_name: 'Anti-Slavery Letters: 1800-1839', metadata: { - indexFields: 'date,title,creators' + indexFields: 'date,page' } }, workflow: {