From c61e73efb7f8c71c6e96838c14de9162fc52489d Mon Sep 17 00:00:00 2001 From: Caio Almeida <117518+caiosba@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:19:40 -0300 Subject: [PATCH] Allow filtering by blank items. (#2016) Fixes CV2-5156. --- lib/check_search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/check_search.rb b/lib/check_search.rb index cbcd41cea6..f78ba9dea2 100644 --- a/lib/check_search.rb +++ b/lib/check_search.rb @@ -168,7 +168,7 @@ def should_hit_elasticsearch? end def media_types_filter - MEDIA_TYPES & @options['show'] + [MEDIA_TYPES, 'blank'].flatten & @options['show'] end def get_pg_results