Skip to content

Commit

Permalink
UIIN-2060: Rename and reorder search options for clarity and consiste…
Browse files Browse the repository at this point in the history
…ncy (#1723)

* Modify display of statistical codes in instance detail view (UIIN-1150)

* Suppress errors from /instances/facets endpoint

* Rename and reorder search otions (UIIN-2060, UIIN-2061)
  • Loading branch information
Baroquem authored Jun 28, 2022
1 parent d65f8b8 commit 7a1a3f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ Inventory causes an error. Refs UIIN-2012.
* Applied filters don't reset when user select "Browse contributors" search option. Refs UIIN-2068.
* Create Jest/RTL test for PrimaryToggleButton. Refs UIIN-1666.
* Adjust query parameters on the subject browse form. Refs UIIN-2075.
* * Improve query when search by call number. Refs UIIN-2078.
* Improve query when search by call number. Refs UIIN-2078.
* Rename and reorder search options for clarity, consistency. Fixes UIIN-2060, UIIN-2061.
* Browse contributors. Placeholder match does not look right in the contributor column. Refs UIIN-2079

## [9.0.0](https://github.com/folio-org/ui-inventory/tree/v9.0.0) (2022-03-03)
Expand Down
6 changes: 3 additions & 3 deletions src/filterConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ export const instanceIndexes = [
{ label: 'ui-inventory.issn', value: 'issn', queryTemplate: 'issn="%{query.query}"' },
{ label: 'ui-inventory.search.oclc', value: 'oclc', queryTemplate: 'oclc="%{query.query}"' },
{ label: 'ui-inventory.subject', value: 'subject', queryTemplate: 'subjects="%{query.query}"' },
{ label: 'ui-inventory.effectiveCallNumberShelving', value: 'callNumber', queryTemplate: 'callNumber=%{query.query}' },
{ label: 'ui-inventory.instanceHrid', value: 'hrid', queryTemplate: 'hrid=="%{query.query}"' },
{ label: 'ui-inventory.instanceId', value: 'id', queryTemplate: 'id="%{query.query}"' },
{ label: 'ui-inventory.search.allFields', value: 'allFields', queryTemplate: 'cql.all all "%{query.query}"' },
{ label: 'ui-inventory.querySearch', value: 'querySearch', queryTemplate: '%{query.query}' },
{ label: 'ui-inventory.callNumber', value: 'callNumber', queryTemplate: 'callNumber=%{query.query}' },
{ label: '-------------------------------------------', value: 'noValue', disabled: true },
{ label: 'ui-inventory.browseCallNumbers', value: `${browseModeOptions.CALL_NUMBERS}`, queryTemplate: '%{query.query}' },
{ label: 'ui-inventory.browseContributors', value: `${browseModeOptions.CONTRIBUTORS}`, queryTemplate: '%{query.query}' },
Expand Down Expand Up @@ -152,8 +152,8 @@ export const holdingIndexes = [
value: 'callNumberNormalized',
queryTemplate: 'holdingsNormalizedCallNumbers="%{query.query}"' },
{ label: 'ui-inventory.holdingsHrid', value: 'hrid', queryTemplate: 'holdings.hrid=="%{query.query}"' },
{ label: 'ui-inventory.search.allFields', value: 'allFields', queryTemplate: 'cql.all all "%{query.query}"' },
{ label: 'ui-inventory.search.holdings.uuid', value: 'hid', queryTemplate: 'holdings.id=="%{query.query}"' },
{ label: 'ui-inventory.search.allFields', value: 'allFields', queryTemplate: 'cql.all all "%{query.query}"' },
{ label: 'ui-inventory.querySearch', value: 'querySearch', queryTemplate: '%{query.query}' },
];

Expand Down Expand Up @@ -222,8 +222,8 @@ export const itemIndexes = [
value: 'itemNormalizedCallNumbers',
queryTemplate: 'itemNormalizedCallNumbers="%{query.query}"' },
{ label: 'ui-inventory.itemHrid', value: 'hrid', queryTemplate: 'items.hrid=="%{query.query}"' },
{ label: 'ui-inventory.search.allFields', value: 'allFields', queryTemplate: 'cql.all all "%{query.query}"' },
{ label: 'ui-inventory.search.item.uuid', value: 'iid', queryTemplate: 'item.id=="%{query.query}"' },
{ label: 'ui-inventory.search.allFields', value: 'allFields', queryTemplate: 'cql.all all "%{query.query}"' },
{ label: 'ui-inventory.querySearch', value: 'querySearch', queryTemplate: '%{query.query}' },

];
Expand Down
1 change: 1 addition & 0 deletions translations/ui-inventory/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"effectiveLocation": "Effective location for item",
"effectiveLocationShort": "Effective location",
"effectiveCallNumber": "Effective call number string",
"effectiveCallNumberShelving": "Effective call number (item), shelving order",
"permanent": "Permanent",
"temporary": "Temporary",
"selectPermanenLocation": "Select permanent location",
Expand Down
1 change: 1 addition & 0 deletions translations/ui-inventory/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"reports.inTransitItem.volume": "Volume",
"reports.inTransitItem.yearCaption": "Year",
"effectiveCallNumber": "Effective call number string",
"effectiveCallNumberShelving": "Effective call number (item), shelving order",
"updatedDateAndTime": "Updated date and time",
"updatedSource": "Updated source",
"createdDateAndTime": "Created date and time",
Expand Down

0 comments on commit 7a1a3f0

Please sign in to comment.