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

SCRUM-3648 #1281

Merged
merged 3 commits into from
Mar 7, 2024
Merged

SCRUM-3648 #1281

merged 3 commits into from
Mar 7, 2024

Conversation

adamgibs
Copy link
Contributor

@adamgibs adamgibs commented Mar 6, 2024

No description provided.

@adamgibs adamgibs merged commit adb6f83 into stage Mar 7, 2024
2 checks passed
@adamgibs adamgibs deleted the SCRUM-3648 branch March 7, 2024 13:44
},
{
dataField: 'subject.taxon',
text: 'Species',
headerStyle: { width: '100px' },
formatter: species => <SpeciesCell species={species} />,
filterName: 'species',
filterable: getDistinctFieldValue(resolvedData, 'species').sort(compareByFixedOrder(SPECIES_NAME_ORDER)),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamgibs does this not come from the backed correctly? I would think this ordering needs to be sorted on the backend?

Copy link
Contributor Author

@adamgibs adamgibs Mar 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oblodgett Yeah, this is needed to get the list in phylogenetic order. I don't know if it needs to come from the backend ordered or not. It hasn't been in the past. This sorting method is used in other annotation tables on the site as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants