diff --git a/src/Http/Controllers/RecentJobsController.php b/src/Http/Controllers/RecentJobsController.php index 88c74d3a..63e48725 100644 --- a/src/Http/Controllers/RecentJobsController.php +++ b/src/Http/Controllers/RecentJobsController.php @@ -49,7 +49,7 @@ public function index(Request $request) ? $this->paginate($request) : $this->paginateByTag($request, $request->query('tag')); - $total = ! $request->query('tag') + $total = $request->query('tag') ? $this->tags->count('recent:'.$request->query('tag')) : $this->jobs->countRecent();