diff --git a/src/Controller/ClaimsController.php b/src/Controller/ClaimsController.php index 2982c39..aa3efc7 100644 --- a/src/Controller/ClaimsController.php +++ b/src/Controller/ClaimsController.php @@ -40,7 +40,7 @@ class ClaimsController extends AppController { $beforeId = 0; } - $conditions = ['Claims.ThumbnailUrl IS NOT' => null, 'LENGTH(TRIM(Claims.ThumbnailUrl)) >' => 0, 'IsFiltered <>' => 1]; + $conditions = ['Claims.ThumbnailUrl IS NOT' => null, 'LENGTH(TRIM(Claims.ThumbnailUrl)) >' => 0, 'Claims.IsFiltered <>' => 1]; if ($afterId > 0) { $conditions['Claims.Id >'] = $afterId; } else if ($beforeId) {