Skip to content

Commit

Permalink
don't forget top containers lacking types. they matter too
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Aug 2, 2016
1 parent 186fab2 commit 2578b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/model/trees_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def quick_containers
def containers_ds
TopContainer.linked_instance_ds
.join(:archival_object, :id => :instance__archival_object_id)
.join(:enumeration_value___top_container_type, :id => :top_container__type_id)
.left_join(:enumeration_value___top_container_type, :id => :top_container__type_id)
.left_join(:enumeration_value___sub_container_type_2, :id => :sub_container__type_2_id)
.left_join(:enumeration_value___sub_container_type_3, :id => :sub_container__type_3_id)
.filter(:archival_object__root_record_id => self.id)
Expand Down

0 comments on commit 2578b49

Please sign in to comment.