The translate placements query was renamed in v2
This commit is contained in:
parent
ad273eb002
commit
ae61ebeac9
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ def get_image_layers(image):
|
|||
.join(Image)
|
||||
.where(Image.id << image_ids))
|
||||
|
||||
image_list = list(_translate_placements_to_images_with_locations(query))
|
||||
image_list = list(invert_placement_query_results(query))
|
||||
image_list.sort(key=lambda image: image_ids.index(str(image.id)))
|
||||
return image_list
|
||||
|
||||
|
|
Reference in a new issue