Skip to content

Commit

Permalink
fix Ambiguous column on paging
Browse files Browse the repository at this point in the history
  • Loading branch information
bahram1249 committed Mar 2, 2024
1 parent 914f282 commit 78520cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/eav/src/admin/attribute/attribute.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ export class AttributeService {
},
})
.filter(
Sequelize.where(Sequelize.fn('isnull', Sequelize.col('isDeleted'), 0), {
[Op.eq]: 0,
}),
Sequelize.where(
Sequelize.fn('isnull', Sequelize.col('EAVAttribute.isDeleted'), 0),
{
[Op.eq]: 0,
},
),
);
if (filter.entityTypeId) {
const entityAttributes = await this.entityAttributeRepository.findAll({
Expand Down

0 comments on commit 78520cb

Please sign in to comment.