update food

This commit is contained in:
2025-11-15 14:45:01 +03:30
parent 008351acd2
commit afbca4e439
@@ -36,7 +36,7 @@ export class FoodRepository extends EntityRepository<Food> {
if (search) { if (search) {
const pattern = `%${search}%`; const pattern = `%${search}%`;
where.$or = [{ title: { $ilike: pattern } }, { content: { $ilike: pattern } }]; where.$or = [{ title: { $ilike: pattern } }, { desc: { $ilike: pattern } }];
} }
if (categoryId) { if (categoryId) {