Skip to content
Merged
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Integrate the Connected Tasks/Jobs plugin with Purchase Order and PO Line detail views. Refs UIOR-1578.
* Set initial sorting column for "Related invoice lines" MCL. Refs UIOR-1581.
* Add Order email templates settings with token picker and Handlebars backend-rendered preview. Refs UIOR-1492, UIOR-1493, UIOR-1495.
* Do not show metadata fields in "Version history" for PO and PO Lines. Refs UIOR-1585.

## [9.0.5](https://github.com/folio-org/ui-orders/tree/v9.0.5) (2026-07-20)
[Full Changelog](https://github.com/folio-org/ui-orders/compare/v9.0.4...v9.0.5)
Expand Down
9 changes: 8 additions & 1 deletion src/common/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ export const UNOPEN_ORDER_ABANDONED_HOLDINGS_TYPES = {
export const FIELD_ARRAY_ITEM_IDENTIFIER_KEY = '__key__';
export const OKAPI_TENANT_HEADER = 'X-Okapi-Tenant';

export const HIDDEN_ORDER_FIELDS_FOR_VERSION_HISTORY = ['nextPolNumber', 'searchLocationIds'];
export const HIDDEN_ORDER_FIELDS_FOR_VERSION_HISTORY = [
'metadata.createdByUserId',
'metadata.createdDate',
'metadata.updatedByUserId',
'metadata.updatedDate',
'nextPolNumber',
'searchLocationIds',
];

export const CENTRAL_ORDERING_DEFAULT_RECEIVING_SEARCH = {
activeAffiliationOnly: 'Active affiliation only',
Expand Down
4 changes: 0 additions & 4 deletions src/components/POLine/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@ export const getPoLineFieldsLabelMap = ({
'acquisitionMethod': 'ui-orders.poLine.acquisitionMethod',
'automaticExport': 'ui-orders.poLine.automaticExport',
'orderFormat': 'ui-orders.poLine.orderFormat',
'metadata.createdByUserId': 'ui-orders.orderDetails.createdBy',
'metadata.createdDate': 'ui-orders.poLine.createdOn',
'metadata.updatedByUserId': 'ui-orders.versionHistory.updatedByUserId',
'metadata.updatedDate': 'ui-orders.orderLineList.updatedDate',
'receiptDate': 'ui-orders.poLine.receiptDate',
'receiptStatus': 'ui-orders.poLine.receiptStatus',
'paymentStatus': 'ui-orders.poLine.paymentStatus',
Expand Down
4 changes: 0 additions & 4 deletions src/components/PurchaseOrder/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ export const getPoFieldsLabelMap = () => {
'shipTo': 'ui-orders.orderDetails.shipTo',
'manualPo': 'ui-orders.orderDetails.manualPO',
'reEncumber': 'ui-orders.orderDetails.reEncumber',
'metadata.createdByUserId': 'ui-orders.orderDetails.createdBy',
'metadata.createdDate': 'ui-orders.orderDetails.createdOn',
'metadata.updatedByUserId': 'ui-orders.versionHistory.updatedByUserId',
'metadata.updatedDate': 'ui-orders.order.lastUpdated',
'dateOrdered': 'ui-orders.orderDetails.dateOpened',
'fiscalYearId': 'ui-orders.orderDetails.yearOpened',
'openedById': 'ui-orders.orderDetails.openedBy',
Expand Down
Loading