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

"Age" field returns CollectionObjectID, should return useful information #6016

Open
grantfitzsimmons opened this issue Dec 24, 2024 · 1 comment · May be fixed by #6055
Open

"Age" field returns CollectionObjectID, should return useful information #6016

grantfitzsimmons opened this issue Dec 24, 2024 · 1 comment · May be fixed by #6055
Labels
1 - Bug Incorrect behavior of the product 2 - Queries Issues that are related to the query builder or queries in general geospecify
Milestone

Comments

@grantfitzsimmons
Copy link
Member

grantfitzsimmons commented Dec 24, 2024

Describe the bug

Currently, adding the "Age" field to a query creates a column displaying the CollectionObjectID. This identifier is likely unfamiliar to users and may cause confusion in the interface. This is not a catalog number (identifiable) or any other useful information.

To Reproduce

Steps to reproduce the behavior:

  1. Build a "Collection Object" query in a paleo/invertpaleo/geology discipline's collection
  2. Add the "Age" field to the query
  3. Run the query
  4. See that the Collection Object ID is all that is shown in the results
image

Expected behavior

Two possibilities cross my mind:

1. Show Searched Name & Range

The user should see the name and the range in each row rather than the CollectionObjectID
image

It should look like this when a name is selected:

image

and maybe it should show the name and range in the pick list itself.

If you enter a range rather than a name, the query results should show the range:

155-123 rather than CollectionObjectID, but the name in that case would not be necessary.

2. Show Object Age Range

Since we are calculating the age range for an object based on

  • Absolute Age
  • Relative Age
  • Paleo Context (start and end)

We already are returning an age range. We could simply return that in the query builder to give the user an idea of how this search is being constructed.

Now it is

  • Easy for the user to see the range associated with a given Chronostratigraphic name
  • Easy for the user to understand why the results are being returned
  • Simple for our team to test and verify that it is working as expected

System Information

https://calvertmarinemuseum20241114-production.test.specifysystems.org/specify/query/19/
spadmin, Invertebrates collection

@grantfitzsimmons grantfitzsimmons added 1 - Bug Incorrect behavior of the product 2 - Queries Issues that are related to the query builder or queries in general geospecify labels Dec 24, 2024
@grantfitzsimmons
Copy link
Member Author

grantfitzsimmons commented Dec 24, 2024

From @emenslin:

My immediate assumption was that when I searched the name that only the results with the matching name would appear. That doesn't have to be how it is, but since it is separate from the range filter that was what made the most sense to me. Including something like the range with the name like you suggested could also make sense but then at that point why would the name be separate from the range? I don't know, I think in general this feature is not very intuitive to the user especially with #5412 and even after looking at #5180 I still feel a bit confused.

This would do a lot to resolve this as well.

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 2 - Queries Issues that are related to the query builder or queries in general geospecify
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant