diff --git a/plugins/arRestApiPlugin/modules/api/actions/informationobjectsUpdateAction.class.php b/plugins/arRestApiPlugin/modules/api/actions/informationobjectsUpdateAction.class.php index 78bd2522aa..f6597e7fa3 100644 --- a/plugins/arRestApiPlugin/modules/api/actions/informationobjectsUpdateAction.class.php +++ b/plugins/arRestApiPlugin/modules/api/actions/informationobjectsUpdateAction.class.php @@ -239,6 +239,17 @@ protected function processField($field, $value) $this->io->levelOfDescriptionId = $term->id; } + break; + + case 'published': + if ($value) { + $publicationStatus = 'Published'; + } else { + $publicationStatus = 'Draft'; + } + + $this->io->setPublicationStatusByName($publicationStatus); + break; } }