Add support for querying on any tree table field from a chosen rank #6011
Labels
1 - Enhancement
Improvements or extensions to existing behavior
2 - Queries
Issues that are related to the query builder or queries in general
2 - Trees
Issues that are related to the tree system and related functionalities.
Refer to #5935 for more details
Originally posted by grantfitzsimmons March 28, 2024
Is your feature request related to a problem? Please describe.
Currently in Specify 6 and 7 there is no ability in the query builder to search on any arbitrary field in the tree table once you select a specific rank.
Current Behavior
At (any rank)
See that all fields and relationships are exposed in the list of fields to choose from
The
stringid
s are constructed as you'd expect:At {Rank} level
Only
author
andfullName
can be chosen from the list of fields once you select a level in the tree.The
stringid
s associated with these rank-specific query items are unusual. They are formatted as follows:It looks like there is special logic handling these
treeNodeCols
when constructing a string ID for these items.Describe the solution you'd like
Currently, users can only choose two fields at any given tree rank:
Users should be able to select any rank in a tree (e.g. Family, Genus, Species, etc.) and select any field in the tree table at that level.
Instead of seeing only these two fields:
You should see this:
The list of fields should be comprehensive, including
Author
,Common Name
,Full Name
,GUID
,Is Preferred
,Name
,Protected Status
,Remarks
,Source
.Reported By
Louisiana State University Museum of Natural Science, University of Washington, University of Florida, CSIRO, University of Kansas, many others
Initially reported in #2364
@grantfitzsimmons:
@maxpatiiuk said the following in this comment:
Last march I asked for that code to be removed but no forward movement has occurred since that discussion.
Issues to Resolve:
The text was updated successfully, but these errors were encountered: