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:
Nick Hall 2018-12-20 00:10:00 +00:00 committed by Paul Culley
parent 4eda6d1afa
commit e4cbca4b73

View File

@ -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