|
@@ -39,7 +39,7 @@ public class PublicationsRepo implements IPublicationsRepo{
|
|
Predicate predicate = cb.conjunction();
|
|
Predicate predicate = cb.conjunction();
|
|
if(keyword != null) {
|
|
if(keyword != null) {
|
|
predicate.getExpressions().add(
|
|
predicate.getExpressions().add(
|
|
- cb.like(a.<String>get("longTitle"), "%" + StringUtils.trim(keyword) + "%")
|
|
|
|
|
|
+ cb.like(a.<String>get("title"), "%" + StringUtils.trim(keyword) + "%")
|
|
);
|
|
);
|
|
}
|
|
}
|
|
return predicate;
|
|
return predicate;
|