From c8defae5752e182984dd1a0af2f95ec8998929ec Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 22 Jun 2021 00:03:54 +0200 Subject: [PATCH] fixing allocation sorting --- InvenTree/templates/js/build.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/InvenTree/templates/js/build.js b/InvenTree/templates/js/build.js index 31917aab26..398796773c 100644 --- a/InvenTree/templates/js/build.js +++ b/InvenTree/templates/js/build.js @@ -693,9 +693,6 @@ function loadBuildOutputAllocationTable(buildInfo, output, options={}) { var qA = rowA.quantity; var qB = rowB.quantity; - qA *= output.quantity; - qB *= output.quantity; - // Handle the case where both numerators are zero if ((aA == 0) && (aB == 0)) { return (qA > qB) ? 1 : -1;