mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-07 04:31:12 +00:00
Added field type TEXT to searchable fields
This commit is contained in:
@@ -131,7 +131,7 @@ public class CustomJpaRepository extends SimpleJpaRepository {
|
|||||||
List<Predicate> finalPredicates = new ArrayList<>();
|
List<Predicate> finalPredicates = new ArrayList<>();
|
||||||
|
|
||||||
List<DbField> stringFields =
|
List<DbField> stringFields =
|
||||||
schema.getSortedFields().stream().filter(f -> f.getType() == DbFieldType.STRING)
|
schema.getSortedFields().stream().filter(f -> f.getType() == DbFieldType.STRING || f.getType() == DbFieldType.TEXT)
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
List<Predicate> queryPredicates = new ArrayList<>();
|
List<Predicate> queryPredicates = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user