Added importing quantities
Fixed display order of project quantities
This commit is contained in:
@@ -2,7 +2,7 @@ module BodyTracking
|
||||
module ProjectPatch
|
||||
Project.class_eval do
|
||||
has_many :units, dependent: :destroy
|
||||
has_many :quantities, dependent: :destroy
|
||||
has_many :quantities, -> { order "lft" }, dependent: :destroy
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user