-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
When a MetaModel item which is loaded with a subset of it's attributes is saved using the API all other attributes values will get lost when saving the item.
<?php
$item = $metaModel->findById(5, array('visitors'));
$visitors = $item->get('visitors') + 1;
$item->set('visitors', $visitors);
$item->save(); // Now all other attributes when visitors get lostMetadata
Metadata
Assignees
Labels
bugA bug! A bug! Fast, squish it!A bug! A bug! Fast, squish it!