def search_fields resource
        if controller.searchable_fields.blank?
          BootstrapAdmin.filter_ignored_fields(
            resource.columns.
                     select{|c| [:string, :text].include? c.type}.
                     map{|c| c.name.to_sym}
          )
        else
          controller.searchable_fields
        end
      end
def search_fields resource
        if controller.searchable_fields.blank?
          BootstrapAdmin.filter_ignored_fields(
            resource.columns.
                     select{|c| [:string, :text].include? c.type}.
                     map{|c| c.name.to_sym}
          )
        else
          controller.searchable_fields
        end
      end
=============================================================================