From dd32722fdc83639f2e1ace1c1c795192921e3f7e Mon Sep 17 00:00:00 2001 From: FrederikBaerentsen Date: Thu, 21 Nov 2024 14:10:29 +0100 Subject: [PATCH] Fixed issue with missing not showing --- templates/table.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/table.html b/templates/table.html index d2905b6..d0b4b37 100644 --- a/templates/table.html +++ b/templates/table.html @@ -40,7 +40,7 @@
{% for missing in missing_list %} - {% if missing[1] == brick[1] and missing[2] == brick[2] and missing[4] == brick[6] and (missing[6] == brick[10] or missing[6] == 'brick[10]' or missing[6] == 'None') %} + {% if missing[1] == brick[1] and missing[2] | string == brick[2] | string and missing[4] == brick[6] and (missing[6] | string == brick[10] | string or missing[6] == 'None') %} {% set ns.count = missing[5] %} {% endif %} {% endfor %} @@ -116,7 +116,7 @@
{% for missing in missing_list %} - {% if missing[1] == part[1] and missing[2] == part[2] and missing[4] == part[6] and (missing[6] == part[10] or missing[6] == 'part[10]' or missing[6] == 'None') %} + {% if missing[1] == part[1] and missing[2] | string == part[2] | string and missing[4] == part[6] and (missing[6] | string == part[10] | string or missing[6] == 'None') %} {% set ns.count = missing[5] %} {% endif %} {% endfor %}