Skip to content

A free open source IT asset/license management system

Added - changelog searchable in history tab

snipee4ab4024c5f8
diff --git a/app/Models/Actionlog.php b/app/Models/Actionlog.php
index 36603b4bad..4c126bb387 100755
--- a/app/Models/Actionlog.php
+++ b/app/Models/Actionlog.php
@@ -218,7 +218,8 @@ class Actionlog extends SnipeModel
$query->where('companies.name', 'LIKE', '%'.$search.'%');
});
})->orWhere('action_type', 'LIKE', '%'.$search.'%')
- ->orWhere('note', 'LIKE', '%'.$search.'%');
+ ->orWhere('note', 'LIKE', '%'.$search.'%')
+ ->orWhere('log_meta', 'LIKE', '%'.$search.'%');
}
});
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index 8382a28bef..638e94d7f3 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -617,11 +617,14 @@
<div class="col-md-12">
<table
class="table table-striped snipe-table"
- name="assetHistory"
+ name="asset-history"
id="table"
class="table table-striped snipe-table"
data-sort-order="desc"
data-show-columns="true"
+ data-search="true"
+ data-cookie="true"
+ data-show-refresh="true"
data-cookie-id-table="asset-history"
data-url="{{ route('api.activity.index', ['item_id' => $asset->id, 'item_type' => 'asset']) }}">
<thead>