Skip to content

Commit

Permalink
fix: exclude isHidden from search field
Browse files Browse the repository at this point in the history
  • Loading branch information
kilted-andres committed Aug 12, 2024
1 parent b33aa56 commit b87d4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/ctype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const CTypeModelDefinition: ModelAttributes = {
};

const fields = Object.keys(CTypeModelDefinition)
.filter((name) => name !== 'createdAt')
.filter((name) => !['createdAt', 'isHidden'].includes(name))
.map((name) => `coalesce("${name}"::text, '')`)
.join(` || ' ' || `);

Expand Down

0 comments on commit b87d4e1

Please sign in to comment.