app/helpers/admin/taggable_content_helper.rb
def taggable_organisations_container
    Rails.cache.fetch(taggable_organisations_cache_digest, expires_in: 1.day) do
      Organisation.with_translations.order("organisation_translations.name").map { |o| [o.select_name, o.id] }
    end
  end
# Returns an Array that represents the current set of taggable organisations.
# Each element of the array consists of two values: the select_name and the
# ID of the organisation
Returns an Array that represents the current set of taggable organisations.
Each element of the array consists of two values: the select_name and the
ID of the organisation
Returns an Array that represents the current set of taggable organisations . Each element of the array consists of two values : the select_name and the ID of the organisation
def taggable_organisations_container
    Rails.cache.fetch(taggable_organisations_cache_digest, expires_in: 1.day) do
      Organisation.with_translations.order("organisation_translations.name").map { |o| [o.select_name, o.id] }
    end
  end
def taggable_organisations_container Rails . cache . fetch ( taggable_organisations_cache_digest , expires_in : 1 . day ) do Organisation . with_translations . order ( "organisation_translations.name" ) . map { | o | [ o . select_name , o . id ] } end end
Returns an Array that represents the current set of taggable organisations.
Returns an Array that represents the current set of taggable organisations .