Sha256: 2391a044d0b9766352b1ee8829618da4b88391698213e90bc0c8eb963efa80d5

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

Locomotive::Liquid::Drops::Site.class_eval do
  def search
    @search ||= ::ActiveSearch.search(@context.registers[:controller].params[:search]).where('_stored.site_id' => _source.id)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotivecms-search-0.0.2 lib/locomotive/search/concerns/locomotive/liquid/drops/site.rb