VEuPathDB / EbrcWebsiteCommon

Apache License 2.0
3 stars 3 forks source link

Handle 'NA' in column sorting of applicable customSortBy categories #114

Closed jernestmyers closed 2 years ago

jernestmyers commented 2 years ago

Addresses the latter part of this issue. Specifically, it addresses:

There is another issue where both blank cells and cells with NA are considered "zero" and so the blank cells do not sort with other blank cells, NA cells do not sort with other NA cells

The desired behavior was articulated as follows:

I tested the changes to totalToSortKey, approvedToSortKey, and percentToSortKey in ClinEpi and Plasmo dev sites, and both sites appear to behave as desired.

The first part of the linked issue is handled in this PR in WDKClient.