-
Notifications
You must be signed in to change notification settings - Fork 18
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
*DO NOT MERGE* UIIN-3162 *BREAKING* Use browse
1.5
interface that provides new Call Number Browse endpoints.
#2698
base: master
Are you sure you want to change the base?
Conversation
…all Number Browse endpoints.
browse
1.5
interface that provides new Call Number Browse endpoints.browse
1.5
interface that provides new Call Number Browse endpoints.
de49231
to
70e2943
Compare
@@ -16,7 +16,7 @@ const useSearchForShadowInstanceTenants = ({ instanceId } = {}) => { | |||
|
|||
const { isLoading, data = {} } = useQuery({ | |||
queryKey: [namespace, consortium, instanceId], | |||
queryFn: () => ky.get('search/instances/facets', | |||
queryFn: () => ky.get('search/call-numbers/facets', |
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.
Is this necessary for useSearchForShadowInstanceTenants
?
qindex: queryIndexes.ITEM_NORMALIZED_CALL_NUMBERS, | ||
query: fullCallNumber, | ||
segment: segments.items, |
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 is repeating, let's move it to a variable, like classificationOption
.
const fullCallNumber = getFullCallNumber(r); | ||
|
||
if (r?.totalRecords) { | ||
return getTargetRecord(fullCallNumber, r, ...commonTargetRecordArgs); |
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.
Should <MissedMatchItem query={r.fullCallNumber} />
also be changed?
Quality Gate passedIssues Measures |
Description
BREAKING Use
browse
1.5
interface that provides new Call Number Browse endpoints.Issues
UIIN-3162