| changeset 277 | bd4bc1db4f40 |
| parent 168 | 17f10b56c079 |
| child 304 | 20071981ba2a |
--- a/server/src/app/Http/Controllers/Api/DocumentController.php Thu Sep 08 19:15:46 2016 +0200 +++ b/server/src/app/Http/Controllers/Api/DocumentController.php Thu Sep 22 12:38:24 2016 +0200 @@ -127,6 +127,8 @@ //for now, update contributors and subjects only $doc->setContributors($document['contributors']); $doc->setSubjects($document['subjects']); + $doc->addGeoInfo()->setRefLocs($document['reflocs']); + $doc->getGeoInfo()->commit(); $doc->setModified();