Fix contents of enclosed_by secondary dbapi column (#742)
The enclosed_by column should contain the first value in the list instead of the last. Resolves #10907.
This commit is contained in:
parent
4eda6d1afa
commit
e4cbca4b73
@ -2461,4 +2461,5 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
|||||||
enclosed_by = ""
|
enclosed_by = ""
|
||||||
for placeref in place.get_placeref_list():
|
for placeref in place.get_placeref_list():
|
||||||
enclosed_by = placeref.ref
|
enclosed_by = placeref.ref
|
||||||
|
break
|
||||||
return enclosed_by
|
return enclosed_by
|
||||||
|
Loading…
Reference in New Issue
Block a user