Skip to content
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

"Strict" age queries are not working properly #6017

Open
grantfitzsimmons opened this issue Dec 24, 2024 · 0 comments
Open

"Strict" age queries are not working properly #6017

grantfitzsimmons opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
1 - Bug Incorrect behavior of the product geospecify
Milestone

Comments

@grantfitzsimmons
Copy link
Member

Reference Query: https://calvertmarinemuseum20241114-production.test.specifysystems.org/specify/query/19/

In the calvertmarinemuseum_2024_11_14 database, the "Cretaceous" period has a startPeriod of 145 and an endPeriod of 66. (/specify/view/geologictimeperiod/35/)

Non-strict:

image

See that 119 results are returned, all of which belong specifically to the Paleocence series/epoch, which has a startPeriod of 66 and endPeriod of 56:

image

OK– follows the logic described. Because 66 falls within the range 145-66, though narrowly, it meets the requirements written for the feature.

Strict:

Same query, but it's strict this time:

image

Still 119 results, which doesn't make sense if the intention is to exclude any results that do not fall completely within that range, which would exclude the Paleocene records from the results.

image

That's a 🐛 👀

Originally posted by @grantfitzsimmons in #5465 (comment)

@grantfitzsimmons grantfitzsimmons added geospecify 1 - Bug Incorrect behavior of the product labels Dec 24, 2024
@grantfitzsimmons grantfitzsimmons added this to the 7.9.11 milestone Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product geospecify
Projects
None yet
Development

No branches or pull requests

2 participants