Image des posts
- correction de l'alt des images importées de FB - quand on fusionne des événements, l'image locale suit l'image. Fix #123
This commit is contained in:
parent
f401c611a3
commit
1a06c45acc
@ -1235,6 +1235,9 @@ def merge_duplicate(request, pk):
|
|||||||
new_event_data[f["key"]] = sum(values, [])
|
new_event_data[f["key"]] = sum(values, [])
|
||||||
else:
|
else:
|
||||||
new_event_data[f["key"]] = getattr(events[selected], f["key"])
|
new_event_data[f["key"]] = getattr(events[selected], f["key"])
|
||||||
|
# local_image field follows image field
|
||||||
|
if f["key"] == "image" and "local_image" not in new_event_data:
|
||||||
|
new_event_data["local_image"] = getattr(events[selected], "local_image")
|
||||||
|
|
||||||
for specific_tag in ["uuids", "import_sources"]:
|
for specific_tag in ["uuids", "import_sources"]:
|
||||||
new_event_data[specific_tag] = sum(
|
new_event_data[specific_tag] = sum(
|
||||||
|
Loading…
Reference in New Issue
Block a user