From 96b6cfbf0c942767c8939653e10682adbb37b8e8 Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Tue, 26 May 2009 15:57:57 +0000 Subject: [PATCH] Added missing ordering to relation members. This was only visible in some relations when grabbing from the history API. --- app/models/old_relation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/old_relation.rb b/app/models/old_relation.rb index b2fdf926e..6f364225b 100644 --- a/app/models/old_relation.rb +++ b/app/models/old_relation.rb @@ -81,7 +81,7 @@ class OldRelation < ActiveRecord::Base # has_many :relation_tags, :class_name => 'OldRelationTag', :foreign_key => 'id' def old_members - OldRelationMember.find(:all, :conditions => ['id = ? AND version = ?', self.id, self.version]) + OldRelationMember.find(:all, :conditions => ['id = ? AND version = ?', self.id, self.version], :order => "sequence_id") end def old_tags -- 2.43.2