mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Add aggregable property to metadata fields
This commit is contained in:
@@ -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'
|
||||
];
|
||||
|
Reference in New Issue
Block a user