Module: Workarea::Search::Admin::Releasable
- Included in:
- CatalogCategory, CatalogProduct, Content, ContentPage, NavigationMenu, PricingDiscount, PricingSku
- Defined in:
- app/models/workarea/search/admin/releasable.rb
Instance Method Summary collapse
Instance Method Details
#facets ⇒ Object
5 6 7 8 9 10 |
# File 'app/models/workarea/search/admin/releasable.rb', line 5 def facets super.merge( upcoming_changes: upcoming_release_ids_with_changesets, active_by_segment: active_segment_ids ) end |
#status ⇒ Object
12 13 14 15 16 17 18 |
# File 'app/models/workarea/search/admin/releasable.rb', line 12 def status if model.active? 'active' else 'inactive' end end |