module ReportsKit
  module Reports
    module FilterTypes
      class Records < Base
        DEFAULT_CRITERIA = {
          operator: 'include'
        }

        def apply_conditions(records)
          case criteria[:operator]
          when 'include'
            records.where(column => value)
          when 'does_not_include'
            records.where.not(column => value)
          else
            raise 'Unsupported'
          end
        end

        def valid?
          value.present?
        end
      end
    end
  end
end

module ReportsKit
  module Reports
    module FilterTypes
      class Records < Base
        DEFAULT_CRITERIA = {}

        def apply_conditions(records)
          case criteria[:operator]
          when 'include'
            records.where(column => value)
          when 'does_not_include'
            records.where.not(column => value)
          else
            raise 'Unsupported'
          end
        end

        def valid?
          value.present?
        end
      end
    end
  end
end

--- 
+++ 
@@ -2,7 +2,9 @@
   module Reports
     module FilterTypes
       class Records < Base
-        DEFAULT_CRITERIA = {}
+        DEFAULT_CRITERIA = {
+          operator: 'include'
+        }
 
         def apply_conditions(records)
           case criteria[:operator]
Set default criteria for FilterTypes::Records
