-
Notifications
You must be signed in to change notification settings - Fork 33
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
Explore Your Area - only listing top 50 species per group #610
Comments
Raised via user support Current workaround is to follow the link to Biocache:
|
JS errors in console - looks like its trying to reference the content of a dom element that no longer exists on page:
$('#rightList tbody tr').bind('click.specieslink', function(e) {
e.preventDefault(); // ignore the href text - used for data
var thisTaxonA = $(this).find('a.taxonBrowse2').attr('href').split('/'); EDIT: that is triggered when you click the link at the bottom of the list |
NVM, didn't read details above properly and missed the bit about (other than "All species"). Found the bug and fixed the group names with square braces around them as well. |
Also fixed species group labels showing square braces around them - i18n tool adds this when there is a missing translation entry. @vjrj - might need to add to LA i18n files.
Hi @nickdos FYI it's also just been flagged by a second user that sorting by name/number is failing. I've replicated this on ALA, AVH and Ozcam by:
|
Thanks @kylie-m, I did pick that up and fixed it as well. The code for both was in the same block and used the essentially the same logic. Both are fixed and I'll deploy to test later today. |
@kylie-m - would you mind testing my fix that is deployed to test, please? |
@nickdos working well for me on ALA EYA, I tested the fixed issues plus general test cases on # 6 of Biocache hubs testing docs. All passing - thanks again for this! Just noting AVH and Ozcam EYA's are still failing on test but I assumed the fix wasn't deployed there |
@kylie-m - yes, I did not deploy those hubs yet. I just wanted to check this issue and those 2 hubs are not officially supported for "explore your area" - that page exists but is not linked to/from anywhere on those site. So its a ghost page for them. |
@qifeng-bai has code reviewed this change |
Explore Your Area is now only showing the top 50 species per group, except for "All species". This is happening on ALA, AVH and Ozcam explore your area tools.
Steps to replicate:
Go to explore your area, search any location
Click on any group (other than "All species") with more than 50 species
Scroll down the list of species, verify that only 50 are showing
At the bottom of the list, click on 'Show more species'. It now displays "[no species found]":
Other testing notes: I've tested using Chrome, Firefox, Safari and Edge, getting the same results
The text was updated successfully, but these errors were encountered: