table fixes

This commit is contained in:
Oliver Walters 2020-04-11 21:08:27 +10:00
parent 0fc353ebac
commit e69f6c5b9d
2 changed files with 6 additions and 1 deletions

View File

@ -62,6 +62,11 @@ function loadBuildTable(table, options) {
title: 'Created',
sortable: true,
},
{
field: 'completion_date',
title: 'Completed',
sortable: true,
},
],
});
}

View File

@ -64,7 +64,7 @@
field: 'part_detail.full_name',
title: '{% trans "Part" %}',
formatter: function(value, row, index, field) {
return imageHoverIcon(row.part_detail.image_url) + renderLink(value, '/part/' + row.part + '/suppliers/');
return imageHoverIcon(row.part_detail.thumbnail) + renderLink(value, '/part/' + row.part + '/suppliers/');
}
},
{