Generate filterByName from the remaining elements in the set
This commit is contained in:
parent
a34a396aa7
commit
b0b686b258
1 changed files with 2 additions and 1 deletions
|
@ -459,7 +459,8 @@ public class QuickSearchPoiFilterFragment extends DialogFragment {
|
|||
String keyName = poiType.getKeyName().replace('_', ':').toLowerCase();
|
||||
if (filters.contains(keyName)) {
|
||||
selectedPoiAdditionals.add(keyName);
|
||||
filterByName = filterByName.replaceAll(keyName, "");
|
||||
filters.remove(keyName);
|
||||
filterByName = filters.toString().replaceAll("[,\\[\\]]", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue