Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chpicone committed Jan 26, 2021
2 parents 5112f0c + 16cc267 commit 0e4b452
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const table_function_mapper = {
var download = '<a href="download/' + data.id + '" target="_blank"><i class="fas fa-download"></i></a>';
}
table.row.add([
data.id,
data.user,
data.geopackage_name,
get_local_date(data.start_date) || "--/--/---" ,
Expand Down
10 changes: 9 additions & 1 deletion app/templates/export/base-export.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<table class="table" id="export-table">
<thead>
<tr>
<th>id</th>
<th>Utente</th>
<th>GeoPackage</th>
<th>Data Inizio</th>
Expand Down Expand Up @@ -96,7 +97,14 @@ <h5 class="modal-title">Log</h5>
"language": {
"url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Italian.json"
},
"order": [[ 2, "desc" ]]
"columnDefs": [
{
"targets": [ 0 ],
"visible": false,
"searchable": false
}
],
"order": [[ 0, "desc" ]]
} );
} );
</script>
Expand Down

0 comments on commit 0e4b452

Please sign in to comment.