-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
import { useTenantKy } from '../../temp'; | ||
|
||
const useAuthorityLinksCount = ({ tenantId } = {}) => { | ||
const useAuthorityLinksCount = ({ id, tenantId } = {}) => { |
There was a problem hiding this comment.
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 }); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Kudos, SonarCloud Quality Gate passed! 0 Bugs 92.9% Coverage 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. |
…625) * UIQM-588 Use Authority search to get Authority linked records count. * UIQM-588 Updated tests * UIQM-588 Added search interface * Update CHANGELOG.md
Description
Use Authority search to get Authority linked records count.
Screenshots
chrome_HHj1YnFDFN.mp4
Issues
UIQM-588