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

Update order in taxa overview table #4437

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bims/static/js/taxa_management/taxa_management.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,12 @@ export const taxaManagement = (() => {
{"data": "family", "className": "min-width-100"},
{"data": "taxonomic_status", "className": "min-width-100"},
{"data": "accepted_taxonomy_name", "className": "min-width-100"},
{"data": "rank", "className": "min-width-100"},
{"data": "biographic_distributions", "className": "min-width-100", "sortable": false,
"render": function (data) {
return data.split(',').map(tag => `<span class="badge badge-info">${tag}</span>`).join('');
}
},
{"data": "rank", "className": "min-width-100"},
{
"data": "tag_list",
"sortable": false,
Expand Down
4 changes: 2 additions & 2 deletions bims/templates/taxa_management.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,14 @@ <h2>Taxon Management</h2>
<thead>
<tr>
<th></th>
<th scope="col">Taxon
<th scope="col">Taxon Name
</th>
<th scope="col">Author(s)</th>
<th scope="col">Family</th>
<th scope="col">Status</th>
<th scope="col">Accepted Taxon</th>
<th scope="col">Biographic distributions</th>
<th scope="col">Rank</th>
<th scope="col">Biogeographic distributions</th>
<th scope="col">
{% if fada_site %}Environmental Information{% else %}Tags{% endif %}</th>
<th scope="col"></th>
Expand Down
Loading