Skip to content

A free open source IT asset/license management system

Fixed #4411 - broken activity report if purge didn’t remove relationship entries

snipe538757317b8c
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index 8b32bd5ad0..8a51b1e71a 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -276,6 +276,14 @@
}
+ // This just prints out the item type in the activity report
+ function itemTypeFormatter(value, row) {
+
+ if ((row) && (row.item) && (row.item.type)) {
+ return row.item.type;
+ }
+ }
+
function genericCheckinCheckoutFormatter(destination) {
return function (value,row) {