From c18a3e4266d0d006b499726399b5aad2f602e318 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 11 Aug 2025 11:18:20 +0100 Subject: [PATCH] Fixed #17562 - bootstrap table formater undefined Signed-off-by: snipe --- resources/views/partials/bootstrap-table.blade.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 765e1a34d1..0438f11914 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -368,10 +368,10 @@ // Add some overrides for any funny urls we have var dest = destination; - var polymorphicItemFormatterDest; - if (destination=='fieldsets') { + var polymorphicItemFormatterDest = ''; + if (destination == 'fieldsets') { var polymorphicItemFormatterDest = 'fields/'; - } + } return '' + value.name + ''; } @@ -633,7 +633,6 @@ 'licenses', 'locations', 'maintenances', - 'maintenances', 'manufacturers', 'models', 'statuslabels',