Add aggregable property to metadata fields

This commit is contained in:
Nicolas Le Goff
2014-09-08 12:00:05 +02:00
parent 792e29a307
commit 0e807b2b0f
6 changed files with 45 additions and 4 deletions

View File

@@ -326,6 +326,7 @@ class Fields implements ControllerProviderInterface
->set_thumbtitle($data['thumbtitle'])
->set_tag(\databox_field::loadClassFromTagName($data['tag']))
->set_business($data['business'])
->set_aggregable($data['aggregable'])
->set_indexable($data['indexable'])
->set_required($data['required'])
->set_separator($data['separator'])
@@ -366,7 +367,7 @@ class Fields implements ControllerProviderInterface
private function getMandatoryFieldProperties()
{
return [
'name', 'multi', 'thumbtitle', 'tag', 'business', 'indexable',
'name', 'multi', 'thumbtitle', 'tag', 'business', 'indexable', 'aggregable',
'required', 'separator', 'readonly', 'type', 'tbranch', 'report',
'vocabulary-type', 'vocabulary-restricted', 'dces-element', 'labels'
];