Skip to content

Commit

Permalink
Merge branch 'dev' into l10n_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Feb 20, 2024
2 parents ecd0ce8 + bf6100f commit 58ed477
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const attributesByCategory = async ({ input }: TRPCHandlerParams<TAttribu
const result = await prisma.attributesByCategory.findMany({
where: {
categoryName: Array.isArray(input?.categoryName) ? { in: input.categoryName } : input?.categoryName,
canAttachTo: input?.canAttachTo?.length ? { hasSome: input.canAttachTo } : undefined,
// canAttachTo: input?.canAttachTo?.length ? { hasSome: input.canAttachTo } : undefined,
},
orderBy: [{ categoryName: 'asc' }, { attributeName: 'asc' }],
})
Expand Down

0 comments on commit 58ed477

Please sign in to comment.