app/models/quick_classification_query.rb in curate-0.5.4 vs app/models/quick_classification_query.rb in curate-0.5.5
- old
+ new
@@ -9,10 +9,10 @@
@registered_curation_concern_names = options.fetch(:registered_curation_concern_names, Curate.configuration.registered_curation_concern_types)
@curation_concern_names_to_try = options.fetch(:curation_concern_names_to_try, CURATION_CONCERNS_TO_TRY)
end
def all
- (registered_curation_concern_names & normalized_curation_concern_names).collect(&:constantize)
+ (registered_curation_concern_names & normalized_curation_concern_names).sort.collect(&:constantize)
end
private
attr_reader :concern_name_normalizer, :registered_curation_concern_names, :curation_concern_names_to_try
def normalized_curation_concern_names