Skip to content

Commit

Permalink
Fix default value for SHOW view
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp committed Jun 14, 2019
1 parent b6aab64 commit 3b57614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/ShowViewConfigPass.php
Expand Up @@ -102,7 +102,7 @@ private function processTemplateOptions(string $type, array $fieldMetadata)
$templateOptions['hidden_fields'] = [];
}
if (!isset($templateOptions['max_results'])) {
$templateOptions['max_results'] = [];
$templateOptions['max_results'] = null;
}
if (isset($templateOptions['sort'])) {
$sortOptions = $templateOptions['sort'];
Expand Down

0 comments on commit 3b57614

Please sign in to comment.