From c032469b6d1f852df1fd5d779fda29aea7f0cc8b Mon Sep 17 00:00:00 2001 From: Eric Hayes Date: Mon, 8 Aug 2016 10:51:44 -0700 Subject: [PATCH] Sort class instances by name in right cell https://bugzilla.redhat.com/show_bug.cgi?id=1359932 --- app/views/miq_ae_class/_class_instances.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/miq_ae_class/_class_instances.html.haml b/app/views/miq_ae_class/_class_instances.html.haml index 92e6793c512..62c2a6b19cd 100644 --- a/app/views/miq_ae_class/_class_instances.html.haml +++ b/app/views/miq_ae_class/_class_instances.html.haml @@ -10,7 +10,7 @@ %th %th %tbody{'data-click-url' => '/miq_ae_class/tree_select/'} - - @record.ae_instances.each do |record| + - @record.ae_instances.order(:name).each do |record| - next if record.name == '$' - cls_cid = "#{class_prefix(record.class)}-#{ApplicationRecord.compress_id(record.id)}" %tr{'data-click-id' => cls_cid}