From c09ed80ead249fc2fad56b4a6f0d17a4938c03fa Mon Sep 17 00:00:00 2001 From: Aliaksei Chumakou Date: Fri, 20 Nov 2020 04:52:55 +0300 Subject: [PATCH] UIOR-627-next-fix-1 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- .../POLine/POLineAgreementLines/fetchAgreementLines.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12baa9768..50c9d3f76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## (IN PROGRESS) +## [2.2.6](https://github.com/folio-org/ui-orders/tree/v2.2.6) (2020-11-20) +[Full Changelog](https://github.com/folio-org/ui-orders/compare/v2.2.5...v2.2.6) + +* UIOR-627 fix for fix: remove extra spaces in `||` query filter param. + + ## [2.2.5](https://github.com/folio-org/ui-orders/tree/v2.2.5) (2020-11-19) [Full Changelog](https://github.com/folio-org/ui-orders/compare/v2.2.4...v2.2.5) diff --git a/package.json b/package.json index d0269793d..a72b9469f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@folio/orders", - "version": "2.2.5", + "version": "2.2.6", "description": "Description for orders", "main": "src/index.js", "repository": "", diff --git a/src/components/POLine/POLineAgreementLines/fetchAgreementLines.js b/src/components/POLine/POLineAgreementLines/fetchAgreementLines.js index 2a948a4ca..970a99059 100644 --- a/src/components/POLine/POLineAgreementLines/fetchAgreementLines.js +++ b/src/components/POLine/POLineAgreementLines/fetchAgreementLines.js @@ -3,7 +3,7 @@ import { batchFetch } from '@folio/stripes-acq-components'; const buildQueryByIds = (itemsChunk) => { const query = itemsChunk .map(id => `id==${id}`) - .join(' || '); // ERM api works with that format + .join('||'); // ERM api works with that format return query || ''; };