Skip to content

Preferred Taxon Queries do not include Taxa without a Preferred Taxon #4973

Description

@alesan99

Describe the bug
If you make a Taxon Query with Preferred Taxon it sometimes does not display the Taxa without a defined 'Preferred Taxon'

To Reproduce
Steps to reproduce the behavior:

  1. Ensure you have a Taxon without a Preferred Taxon and one that does have one.

  2. Make a new Query matching the screenshots below OR import one of these:
    SynonymizedTaxaSwitch.json
    prefTaxon.json

  3. Run the Query and look at the results

  4. Switch the order of the Query field lines

  5. Run the Query and see if the results changed

Expected behavior
The query results should still show Taxa without any Preferred Taxon, regardless of the order of the Query fields.
Specify 6 handles this well.

Screenshots
Undesired result:
image
Switching the order fixes it
image

Results on Specify 6 (Using the order from the first screenshot):
image

Please, also fill out the following information manually:

  • OS: Windows 11
  • Browser: Chrome
  • Specify 7 Version: edge
  • Database Name: kubirds_8_25_23
  • User Name: spbirdadmin

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - BugIncorrect behavior of the product2 - QueriesIssues that are related to the query builder or queries in general

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions