mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Render part image in the stock location list display
This commit is contained in:
parent
0058207fad
commit
88a1df75d2
@ -347,6 +347,7 @@ function loadStockTable(table, options) {
|
|||||||
search: true,
|
search: true,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
pagination: true,
|
pagination: true,
|
||||||
|
pageSize: 25,
|
||||||
rememberOrder: true,
|
rememberOrder: true,
|
||||||
queryParams: options.params,
|
queryParams: options.params,
|
||||||
columns: [
|
columns: [
|
||||||
@ -365,7 +366,7 @@ function loadStockTable(table, options) {
|
|||||||
title: 'Part',
|
title: 'Part',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
formatter: function(value, row, index, field) {
|
formatter: function(value, row, index, field) {
|
||||||
return renderLink(value, row.part.url);
|
return imageHoverIcon(row.part.image_url) + renderLink(value, row.part.url);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user