Skip to content

Commit

Permalink
Update order in taxa overview table (#4437)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Feb 24, 2025
1 parent a7cc285 commit fc878c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit fc878c7

Please sign in to comment.