Skip to content

Commit 6739d56

Browse files
committed
fix: use owners.name facet for user profile pkgs
1 parent 7f1e259 commit 6739d56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/composables/npm/useAlgoliaSearch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export function useAlgoliaSearch() {
185185
query: '',
186186
offset,
187187
length,
188-
filters: `owner.name:${ownerName}`,
188+
filters: `owners.name:${ownerName}`,
189189
analyticsTags: ['npmx.dev'],
190190
attributesToRetrieve: ATTRIBUTES_TO_RETRIEVE,
191191
attributesToHighlight: [],
@@ -286,7 +286,7 @@ export function useAlgoliaSearch() {
286286
requests.push({
287287
indexName,
288288
query: '',
289-
filters: `owner.name:${checks.name}`,
289+
filters: `owners.name:${checks.name}`,
290290
length: 1,
291291
analyticsTags: ['npmx.dev'],
292292
attributesToRetrieve: EXISTENCE_CHECK_ATTRS,

0 commit comments

Comments
 (0)