From be6f6fe2ef66b2a0b5beb1faabfd9b2189fda6ac Mon Sep 17 00:00:00 2001 From: Priyanka Date: Mon, 23 Oct 2023 15:52:45 +0530 Subject: [PATCH] Release v10.0.2 --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/views/UserEdit/UserEdit.js | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd588b3ff..059c1551f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [10.1.0] IN PROGRESS +## [10.0.2](https://github.com/folio-org/ui-users/tree/v10.0.2) (2023-10-23) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v10.0.1...v10.0.2) + +* Pass location.search parameter through history search. Refs UIU-2971. + ## [10.0.1](https://github.com/folio-org/ui-users/tree/v10.0.1) (2023-10-18) [Full Changelog](https://github.com/folio-org/ui-users/compare/v10.0.0...v10.0.1) diff --git a/package.json b/package.json index e69fd0260..9c9547a39 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@folio/users", - "version": "10.0.1", + "version": "10.0.2", "description": "User management", "repository": "folio-org/ui-users", "publishConfig": { diff --git a/src/views/UserEdit/UserEdit.js b/src/views/UserEdit/UserEdit.js index 852b4a655..e885326f9 100644 --- a/src/views/UserEdit/UserEdit.js +++ b/src/views/UserEdit/UserEdit.js @@ -401,8 +401,9 @@ class UserEdit extends React.Component { onSubmit={onSubmit} onCancel={() => { history.push({ - pathname: params.id ? `/users/preview/${params.id}${location.search}` : '/users', + pathname: params.id ? `/users/preview/${params.id}` : '/users', state: location.state, + search: location.search, }); }} uniquenessValidator={this.props.mutator.uniquenessValidator}