Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIIN-3115: ECS | "FOLIO/MARC-shared" source is displayed in manually shared instance record #2661

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

mariia-aloshyna
Copy link
Contributor

Purpose

After instance sharing, the user gets an instance shadow copy instead of a shared instance. It happens because mod-search returned a response with shared: true but tenantId: memberTenant instead of the central tenant.

Approach

  • Check if instance is shared, if so - make the next request to mod-inventory with x-okapi-tenant: centralTenant

Refs

https://folio-org.atlassian.net/browse/UIIN-3115

Screenshots

Copy link

github-actions bot commented Nov 1, 2024

Jest Unit Test Statistics

       1 files  ±0     254 suites  ±0   14m 57s ⏱️ +22s
1 015 tests ±0  1 013 ✔️ ±0  2 💤 ±0  0 ±0 
1 022 runs  ±0  1 020 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 038318b. ± Comparison against base commit 96b015c.

♻️ This comment has been updated with latest results.

src/common/hooks/useInstance.js Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Nov 1, 2024

@mariia-aloshyna mariia-aloshyna merged commit 3e36a66 into master Nov 4, 2024
5 checks passed
@mariia-aloshyna mariia-aloshyna deleted the UIIN-3115 branch November 4, 2024 15:12
BogdanDenis pushed a commit that referenced this pull request Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants