Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Keep the taxa-list filters when opening a taxon's occurrences, and add Device & Site filters #1347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
Keep the taxa-list filters when opening a taxon's occurrences, and add Device & Site filters #1347
Changes from 2 commits
2d44c9fff6be8a36c04a350bb5a233e4fd525d66a7f631c66File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see date params and not_taxa_list_id are being added in addition to the device & site params. are those additional ones missing/broken on live currently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Claude says: These are type-only entries in the
FilterTypeunion — adding a key here changes no runtime behavior, it just lets a link reference that param in a URL. None of them are missing or broken on live:date_start/date_endare the existing date-range filter in the occurrence "More filters" section, andnot_taxa_list_idis "Exclude taxa from list" — all already shipped and working.They showed up here because I extended the union while wiring the filter carry-over, but they turned out unnecessary: carry-over spreads a string-keyed record into
getAppRoute({ filters }), which is already assignable without per-field union entries — only fields used as explicit literal keys (e.g.taxon,verified) need to be in the union. So I've trimmeddate_start/date_end/not_taxa_list_idin 25d66a7.deployment__device/deployment__research_sitestay, since those are the new filter params this PR introduces.Uh oh!
There was an error while loading. Please reload this page.