mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 05:48:20 +00:00
Added field type TEXT to searchable fields
This commit is contained in:
parent
0976a76ffc
commit
5b6dba0d24
@ -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<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user