From e4ab4024c5f84485c69f1516058b92acb20824f5 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 12 Dec 2017 05:10:13 -0800 Subject: [PATCH] Added - changelog searchable in history tab --- app/Models/Actionlog.php | 3 ++- resources/views/hardware/view.blade.php | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 @@