mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +00:00
LIKE
This commit is contained in:
parent
8a261c7545
commit
f33715da6d
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ Future<Item> loadChildrenItems(Item item, List<Filter> filters) async {
|
||||||
if(filters != null) {
|
if(filters != null) {
|
||||||
filters.forEach((filter) {
|
filters.forEach((filter) {
|
||||||
if(filter.selectedValues.isNotEmpty) {
|
if(filter.selectedValues.isNotEmpty) {
|
||||||
whereFilter = " AND (${filter.name} = '" + filter.selectedValues.join("' OR ${filter.name} = '") + "')";
|
whereFilter = " AND (${filter.name} LIKE '%" + filter.selectedValues.join("%' OR ${filter.name} LIKE '%") + "%')";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue