Fix filter not working for cat children

This commit is contained in:
Thomas Fransolet 2024-08-30 16:28:51 +02:00
parent ce390331e2
commit 53affeb814

View File

@ -166,7 +166,7 @@ class _GeoPointFilterState extends State<GeoPointFilter> {
.replaceAll("-", ""); .replaceAll("-", "");
int combinedValue = int.parse(latitudePart + longitudePart); int combinedValue = int.parse(latitudePart + longitudePart);
return combinedValue == node.id; return combinedValue == childNode.id;
}, },
orElse: () => GeoPointDTO(id: -1), orElse: () => GeoPointDTO(id: -1),
); );