Make sure asking a node for it's history returns an ordered list
This commit is contained in:
parent
70ac60ad4a
commit
15ab888d0c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class Node < ActiveRecord::Base
|
|||
|
||||
belongs_to :changeset
|
||||
|
||||
has_many :old_nodes, :foreign_key => :id
|
||||
has_many :old_nodes, :foreign_key => :id, :order => :version
|
||||
|
||||
has_many :way_nodes
|
||||
has_many :ways, :through => :way_nodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue