We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d00e813 + 0bb97e3 commit 42bce45Copy full SHA for 42bce45
sde_collections/serializers.py
@@ -141,9 +141,9 @@ def get_file_extension(self, obj):
141
def get_tree_root(self, obj):
142
if obj.collection.is_multi_division:
143
if obj.division:
144
- return f"/{obj.get_division_display()}/{obj.collection.config_folder}"
+ return f"/{obj.get_division_display()}/{obj.collection.name}/"
145
else:
146
- return f"/{obj.collection.get_division_display()}/{obj.collection.config_folder}"
+ return f"/{obj.collection.get_division_display()}/{obj.collection.name}/"
147
148
return obj.collection.tree_root
149
0 commit comments