Skip to content

Commit

Permalink
added configurations for collections search (#2142)
Browse files Browse the repository at this point in the history
Co-authored-by: Vito Galatro <[email protected]>
  • Loading branch information
blakeganderson and vgalatro authored May 22, 2024
1 parent 0e48887 commit a759274
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const params = [

const fetch = (
{ _id, "arc-site": site, content_alias: contentAlias, from, getNext = "false", size },
{ cachedCall }
{ cachedCall },
) => {
// Max collection size is 20
// See: https://redirector.arcpublishing.com/alc/docs/swagger/?url=./arc-products/content-api.json
Expand Down Expand Up @@ -84,7 +84,7 @@ const fetch = (
...(data?.content_elements || []),
...(next?.content_elements || []),
],
}
}
: {}),
}));
})
Expand All @@ -95,4 +95,5 @@ export default {
fetch,
params,
schemaName: "ans-feed",
searchable: "collection",
};

0 comments on commit a759274

Please sign in to comment.