correctly set from area column in place_addressline

This was always set to true which brings us to the question
if it is even still needed.
This commit is contained in:
Sarah Hoffmann
2020-10-15 12:06:53 +02:00
parent 5236e7a03e
commit 62b94e838b

View File

@@ -360,7 +360,7 @@ BEGIN
INSERT INTO place_addressline (place_id, address_place_id, fromarea,
isaddress, distance, cached_rank_address)
VALUES (obj_place_id, location.place_id, true,
VALUES (obj_place_id, location.place_id, not location.isguess,
location_isaddress, location.distance, location.rank_address);
END LOOP;
END;