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

UIQM-588 Use Authority search to get Authority linked records count. #625

Merged
merged 7 commits into from
Dec 7, 2023

Conversation

BogdanDenis
Copy link
Contributor

Description

Use Authority search to get Authority linked records count.

Screenshots

chrome_HHj1YnFDFN.mp4

Issues

UIQM-588

Copy link

github-actions bot commented Nov 29, 2023

Jest Unit Test Statistics

    1 files  ±0    39 suites  ±0   2m 19s ⏱️ +4s
323 tests +1  323 ✔️ +1  0 💤 ±0  0 ±0 
324 runs  +1  324 ✔️ +1  0 💤 ±0  0 ±0 

Results for commit ba8a231. ± Comparison against base commit adddfc1.

♻️ This comment has been updated with latest results.

@BogdanDenis BogdanDenis requested review from Dmytro-Melnyshyn and a team November 29, 2023 15:42
import { useTenantKy } from '../../temp';

const useAuthorityLinksCount = ({ tenantId } = {}) => {
const useAuthorityLinksCount = ({ id, tenantId } = {}) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need to change the tenant for this search/authorities API. We can remove tenantId.

import { useTenantKy } from '../../temp';

const useAuthorityLinksCount = ({ tenantId } = {}) => {
const useAuthorityLinksCount = ({ id, tenantId } = {}) => {
const ky = useTenantKy({ tenantId });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useOkapiKy already supports the tenant.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ticket has been added to the poppy bug fix release, useOkapiKy doesn't support the tenant there, no need to change.

Copy link

sonarqubecloud bot commented Dec 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

92.9% 92.9% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@BogdanDenis BogdanDenis merged commit 1f0140f into master Dec 7, 2023
4 checks passed
@BogdanDenis BogdanDenis deleted the UIQM-588 branch December 7, 2023 09:19
BogdanDenis added a commit that referenced this pull request Dec 11, 2023
…625)

* UIQM-588 Use Authority search to get Authority linked records count.

* UIQM-588 Updated tests

* UIQM-588 Added search interface

* Update CHANGELOG.md
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.

5 participants