change label for filter and metadata order collectino attrs #261

This commit is contained in:
Leo Germani 2019-09-27 16:37:24 -03:00
parent 3bc69ceab8
commit 006f8175a0
1 changed files with 4 additions and 4 deletions

View File

@ -141,18 +141,18 @@ class Collections extends Repository {
], ],
'metadata_order' => [ 'metadata_order' => [
'map' => 'meta', 'map' => 'meta',
'title' => __( 'Ordination metadata', 'tainacan' ), 'title' => __( 'Metadata order', 'tainacan' ),
'type' => 'array/object/string', 'type' => 'array/object/string',
'items' => [ 'type' => 'array/string/integer/object' ], 'items' => [ 'type' => 'array/string/integer/object' ],
'description' => __( 'Collection metadata ordination', 'tainacan' ), 'description' => __( 'The order of the metadata in the collection', 'tainacan' ),
//'validation' => v::stringType(), //'validation' => v::stringType(),
], ],
'filters_order' => [ 'filters_order' => [
'map' => 'meta', 'map' => 'meta',
'title' => __( 'Ordination filters', 'tainacan' ), 'title' => __( 'Filters order', 'tainacan' ),
'type' => 'array/object/string', 'type' => 'array/object/string',
'items' => [ 'type' => 'array/string/integer/object' ], 'items' => [ 'type' => 'array/string/integer/object' ],
'description' => __( 'Collection filters ordination', 'tainacan' ), 'description' => __( 'The order of the filters in the collection', 'tainacan' ),
//'validation' => v::stringType(), //'validation' => v::stringType(),
], ],
'enable_cover_page' => [ 'enable_cover_page' => [