fix schema error
This commit is contained in:
parent
14f41a5a75
commit
89dd8ff40d
|
@ -136,6 +136,7 @@ class Collections extends Repository {
|
||||||
'type' => 'array',
|
'type' => 'array',
|
||||||
'description' => __( 'Which visualization modes will be available for the public to choose from', 'tainacan' ),
|
'description' => __( 'Which visualization modes will be available for the public to choose from', 'tainacan' ),
|
||||||
'default' => ['table', 'cards'],
|
'default' => ['table', 'cards'],
|
||||||
|
'items' => [ 'type' => 'string' ],
|
||||||
//'validation' => v::stringType(),
|
//'validation' => v::stringType(),
|
||||||
],
|
],
|
||||||
'metadata_order' => [
|
'metadata_order' => [
|
||||||
|
|
Loading…
Reference in New Issue