zeldamods / objmap-totk

Tears of the Kingdom Object Map
https://objmap-totk.zeldamods.org
GNU General Public License v3.0
49 stars 7 forks source link

Excludes no longer work with sky/surface/depths selection #74

Closed elduende05 closed 1 year ago

elduende05 commented 1 year ago

Searching for any query with results (e.g. GoronGuidePost) on the sky/surface/depths map will add an empty exclude if you click "hide" (or import an exported query). You have to manually switch to MainField etc. to do exclusions now, which effectively killed importing exclude sets.

savage13 commented 1 year ago

This looks to be an issue with the radar-totk backend and the API endpoint /objids/{map_type}/{map_name}?q=query and not handling the MainAndMinusField properly.

leoetlino commented 1 year ago

should be fixed by zeldamods/radar-totk@e6f5fbd

savage13 commented 1 year ago
-    WHERE map_type = ${mapTypeQuery} ${mapNameQuery}
+    WHERE ${mapTypeQuery} ${mapNameQuery}
leoetlino commented 1 year ago

oh good catch, let me fix that