From 0a391de09fc93dd9928f241e385e889406e634af Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 27 Sep 2016 01:29:31 -0700 Subject: [PATCH] Fixes #2682 - search on purchase_order --- app/Models/License.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/License.php b/app/Models/License.php index 4444ac6497..6151fea9a2 100755 --- a/app/Models/License.php +++ b/app/Models/License.php @@ -213,6 +213,7 @@ class License extends Depreciable ->orWhere('serial', 'LIKE', '%'.$search.'%') ->orWhere('notes', 'LIKE', '%'.$search.'%') ->orWhere('order_number', 'LIKE', '%'.$search.'%') + ->orWhere('purchase_order', 'LIKE', '%'.$search.'%') ->orWhere('purchase_date', 'LIKE', '%'.$search.'%') ->orWhere('purchase_cost', 'LIKE', '%'.$search.'%'); });