fix: wrong untagged contacts counter (#3694)

This commit is contained in:
Joaquim Monserrat Companys
2020-03-21 13:42:07 +01:00
committed by GitHub
parent 1b455d7fe9
commit c5aea941d4
2 changed files with 3 additions and 0 deletions
@@ -117,6 +117,8 @@ class ContactsController extends Controller
} else {
$contacts = $contacts->tags($tags);
}
} elseif ($request->input('no_tag')) {
$contacts = $contacts->tags('NONE');
}
$contactsCount = (clone $contacts)->alive()->count();