Skip to content

Commit

Permalink
UIIN-2677 Fix misspelled Instance notes (all) advanced search query i…
Browse files Browse the repository at this point in the history
…ndex.
  • Loading branch information
BogdanDenis committed Nov 8, 2023
1 parent 846085d commit e53b199
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Added support for `containsAny` match option in Advanced search. Refs UIIN-2486.
* Inventory search/browse: Do not retain checkbox selections when toggling search segment. Refs UIIN-2477.
* Show Instance record after creating with Fast add option. Refs UIIN-2497.
* Fix misspelled Instance notes (all) advanced search query index. Fixes UIIN-2677.

## [10.0.3] IN PROGRESS

Expand Down
2 changes: 1 addition & 1 deletion src/filterConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const advancedSearchIndexes = {
{ label: 'ui-inventory.isbn', value: 'isbn' },
{ label: 'ui-inventory.issn', value: 'issn' },
{ label: 'ui-inventory.search.oclc', value: 'oclc' },
{ label: 'ui-inventory.search.instanceNotes', value: 'isntanceNotes' },
{ label: 'ui-inventory.search.instanceNotes', value: 'instanceNotes' },
{ label: 'ui-inventory.search.instanceAdministrativeNotes', value: 'instanceAdministrativeNotes' },
{ label: 'ui-inventory.subject', value: 'subject' },
{ label: 'ui-inventory.effectiveCallNumberShelving', value: 'callNumber' },
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useInstanceMutation/useInstanceMutation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('useInstanceMutation', () => {
{ wrapper },
);

await act(async () => { result.current.mutateInstance({ id: 'isntanceId' }); });
await act(async () => { result.current.mutateInstance({ id: 'instanceId' }); });

expect(putMock).toHaveBeenCalled();
});
Expand Down

0 comments on commit e53b199

Please sign in to comment.