-
Notifications
You must be signed in to change notification settings - Fork 36
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
Phylum and Division both display by default for botanical collections #3424
Comments
This is a Specify 6 Wizard bug |
Doubt this will be fixed until #2932 is completed |
@maxpatiiuk Yes it is, but Specify 7 should not display both. Encountered again with Jerusalem. |
Ranks with the same RankID should not be shown twice |
Ah, now that you say that, it's a relatively simple solution to implement this is the place where tree ranks are fetched specify7/specifyweb/frontend/js_src/lib/components/InitialContext/treeRanks.ts Lines 58 to 104 in 207df9a
if I remember correctly, this is the only place where front-end fetches tree ranks, and all others use this place just have to update this script to remove duplicate ranks. quite simple to implment, assuming you are ok with us just picking the first matching rank, rather than doing smart choosing based on the current discipline |
Can recreate in edge (7.9.6) |
Specify 6 automatically hides the
Division
rank for Botanical collections and usesPhylum
instead.Specify 7 does not do this, so you have both ranks duplicated.
This is problematic in multiple ways, including in #3340.
RankID is the same for both, which is why you experience the problem.
The text was updated successfully, but these errors were encountered: