Starter text search scope for activity report

(This will be messy)
This commit is contained in:
snipe
2016-11-11 20:30:26 -08:00
parent e74a0171a6
commit 369715b7c7
2 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ class ReportsController extends Controller
$activitylogs = Company::scopeCompanyables(Actionlog::with('item', 'user', 'target'))->orderBy('created_at', 'DESC');
if (Input::has('search')) {
$activity = $activity->TextSearch(e(Input::get('search')));
$activitylogs = $activitylogs->TextSearch(e(Input::get('search')));
}
if (Input::has('offset')) {