правка фильтра по избранным
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user