From ad5f428ce0a5bff83ffa926aa9f86d9e825455c7 Mon Sep 17 00:00:00 2001 From: Michael Gurley Date: Wed, 25 Feb 2015 16:22:41 -0600 Subject: [PATCH] References #86 Not the real solution but at least we should start with making sure that abstractor subjects are displayed in order of creation. --- app/views/abstractor/abstractor_abstractions/_list.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/abstractor/abstractor_abstractions/_list.html.haml b/app/views/abstractor/abstractor_abstractions/_list.html.haml index f5c9740..1dd1b33 100644 --- a/app/views/abstractor/abstractor_abstractions/_list.html.haml +++ b/app/views/abstractor/abstractor_abstractions/_list.html.haml @@ -23,7 +23,7 @@ = link_to 'Add group', Abstractor::UserInterface.abstractor_relative_path(abstractor.abstractor_abstraction_groups_path(about_id: about.id, about_type: about.class.name, abstractor_subject_group_id: abstractor_subject_group.id)), method: :post, class: "icon_link add_link", remote: true .clear - - ungrouped_subjects = Abstractor::AbstractorSubject.not_deleted.includes(:abstractor_subject_group_member).where(:subject_type => about.class.to_s, :abstractor_subject_group_members => {:id => nil}) + - ungrouped_subjects = Abstractor::AbstractorSubject.not_deleted.includes(:abstractor_subject_group_member).where(:subject_type => about.class.to_s, :abstractor_subject_group_members => {:id => nil}).order('abstractor_subjects.id') - if ungrouped_subjects.any? %fieldset .column-3