[COMPASS-4296] Map filters overwrite other, pre-existing filters Created: 13/May/20  Updated: 29/Oct/23  Resolved: 25/Sep/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: None
Fix Version/s: 1.23.0

Type: Bug Priority: Major - P3
Reporter: Brian Leonard Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Sprint: Iteration Maracuja

 Description   

In Compass 1.21.2, using a map filter (Draw a polygon, Draw a circle) overwrites existing filters.

For example, using the sample_restaurants dataset, click one of the cuisine values to set the filer for that cuisine

{cuisine: 'American'}

. Then expand the address field and draw a circle or polygon on the map. The cuisine filter gets overwritten with by the $geoWithin. This is a regression from earlier version of Compass.



 Comments   
Comment by Githook User [ 25/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4296 Do not let map filter override other filters (#2019)
Branch: master
https://github.com/mongodb-js/compass/commit/70e5642a9045357b728c08b2b506ed02e839e679

Comment by Githook User [ 25/Sep/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4296 Do not let map filter override other filters
Branch: 4296-dev
https://github.com/mongodb-js/compass/commit/d90433d521ef0907d24fc0a5577498b6c7224ac3

Generated at Wed Feb 07 22:35:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.