Skip to content

A free open source IT asset/license management system

Add comment

Marcus Moorea4e959818ae8
diff --git a/app/View/Label.php b/app/View/Label.php
index bb587d6c06..3ec3a4099c 100644
--- a/app/View/Label.php
+++ b/app/View/Label.php
@@ -142,6 +142,8 @@ class Label implements View
// Remove Duplicates
$toAdd = $field
->filter(fn($o) => !$myFields->contains('dataSource', $o['dataSource']))
+ // For fields that have multiple options, we need to combine them
+ // into a single field so all values are displayed.
->reduce(function ($previous, $current) {
// On the first iteration we simply return the item.
// If there is only one item to be processed for the row