app/controllers/tr8n/phrases_controller.rb in tr8n-3.1.8 vs app/controllers/tr8n/phrases_controller.rb in tr8n-3.2.0
- old
+ new
@@ -39,10 +39,10 @@
else
@translation_keys = @translation_keys.where("(id in (select distinct(translation_key_id) from tr8n_translation_key_sources where translation_source_id in (?)))", source_ids.uniq)
end
end
- @translation_keys = @translation_keys.order("label asc").page(page).per(per_page)
+ @translation_keys = @translation_keys.order("created_at desc").page(page).per(per_page)
end
def view
@translation_key = Tr8n::TranslationKey.find_by_id(params[:translation_key_id])
@translation_key = Tr8n::TranslationKey.random if params[:dir] == "random"
\ No newline at end of file