2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-03 05:48:47 +00:00

Disable filtering for total_price (as this is not a database field!)

This commit is contained in:
Oliver 2021-08-26 07:59:47 +10:00
parent 8660f13ef5
commit 212a7eeed1

View File

@ -364,7 +364,7 @@ $("#po-table").inventreeTable({
} }
}, },
{ {
sortable: true, sortable: false,
title: '{% trans "Total price" %}', title: '{% trans "Total price" %}',
formatter: function(value, row) { formatter: function(value, row) {
var total = row.purchase_price * row.quantity; var total = row.purchase_price * row.quantity;