Fixes #2682 - search on purchase_order

This commit is contained in:
snipe 2016-09-27 01:29:31 -07:00
parent 819ca2921b
commit 0a391de09f

View file

@ -213,6 +213,7 @@ class License extends Depreciable
->orWhere('serial', 'LIKE', '%'.$search.'%') ->orWhere('serial', 'LIKE', '%'.$search.'%')
->orWhere('notes', 'LIKE', '%'.$search.'%') ->orWhere('notes', 'LIKE', '%'.$search.'%')
->orWhere('order_number', 'LIKE', '%'.$search.'%') ->orWhere('order_number', 'LIKE', '%'.$search.'%')
->orWhere('purchase_order', 'LIKE', '%'.$search.'%')
->orWhere('purchase_date', 'LIKE', '%'.$search.'%') ->orWhere('purchase_date', 'LIKE', '%'.$search.'%')
->orWhere('purchase_cost', 'LIKE', '%'.$search.'%'); ->orWhere('purchase_cost', 'LIKE', '%'.$search.'%');
}); });