Sha256: b3d53ad2d60b57718abe23ee15922022fd1c7120e12295b46f98dc09577d35d2

Contents?: true

Size: 489 Bytes

Versions: 23

Compression:

Stored size: 489 Bytes

Contents

# To be included in a field card to get a filter for the parent.
# The core view renders a filter for the left card.

include_set Set::Abstract::Filter

def virtual?
  true
end

format :html do
  def filter_action_path
    path mark: card.name.left, view: filter_view
  end

  # FIXME: wikirate-specific reference in selector
  view :core, cache: :never do
    filter_fields slot_selector: ".RIGHT-all_metric_value.filter_result-view"
  end

  def filter_view
    :filter_result
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
card-1.93.8 mod/search/set/abstract/04_right_filter_form.rb
card-1.93.7 mod/search/set/abstract/04_right_filter_form.rb
card-1.93.6 mod/search/set/abstract/04_right_filter_form.rb