diff --git a/pyobs_archive/frontend/static/js/app.js b/pyobs_archive/frontend/static/js/app.js index cf2adbb..aea1c5c 100644 --- a/pyobs_archive/frontend/static/js/app.js +++ b/pyobs_archive/frontend/static/js/app.js @@ -81,7 +81,11 @@ $(function () { }, { field: 'basename', title: 'Name', - sortable: true + sortable: true, + formatter: function(value, row) { + let url = rootURL + 'frames/' + row.id + '/download/'; + return '' + value + '.fits.fz'; + } }, { field: 'DATE_OBS', title: 'Time',