правка фильтра по избранным

This commit is contained in:
Kayashov.SM
2025-11-29 14:48:07 +04:00
parent 60b792ebc3
commit ba1c0e747c

View File

@@ -109,7 +109,7 @@ public class CocktailService {
} }
if (dto.getOnlyFavourite()) { if (dto.getOnlyFavourite()) {
predicates.add(cb.isTrue(root.get("favourite"))); predicates.add(cb.isTrue(root.get("isFavorite")));
} }
if (dto.getGlass() != null && !dto.getGlass().isEmpty()) { if (dto.getGlass() != null && !dto.getGlass().isEmpty()) {