app/models/taxon_details.rb
# NOTE - artificial limit of text objects here to increase the default 30
artificial limit of text objects here to increase the default 30
artificial limit of text objects here to increase the default 30
def count_by_language
    return @count_by_language if defined? @count_by_language
    @count_by_language = {}
    details_in_all_other_languages.select { |obj| obj.approved_language? }.each do |obj|
      @count_by_language[obj.language] ||= 0
      @count_by_language[obj.language] += 1
    end
    @count_by_language
  end
def count_by_language return @count_by_language if defined? @count_by_language @count_by_language = { } details_in_all_other_languages . select { | obj | obj . approved_language? } . each do | obj | @count_by_language [ obj . language ] ||= 0 @count_by_language [ obj . language ] += 1 end @count_by_language end
NOTE - artificial limit of text objects here to increase the default 30
NOTE - artificial limit of text objects here to increase the default 30