From 52725acfccf1ebcbbdff3c156f5506de83052528 Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Tue, 27 Oct 2020 11:19:46 +0100 Subject: [PATCH] EZP-32105: Deprecated obsolete search pagination limit configuration setting --- .../DependencyInjection/Configuration/Parser/Pagination.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bundle/DependencyInjection/Configuration/Parser/Pagination.php b/src/bundle/DependencyInjection/Configuration/Parser/Pagination.php index cfd86f417b..45253d538d 100644 --- a/src/bundle/DependencyInjection/Configuration/Parser/Pagination.php +++ b/src/bundle/DependencyInjection/Configuration/Parser/Pagination.php @@ -40,7 +40,10 @@ public function addSemanticConfig(NodeBuilder $nodeBuilder) ->arrayNode('pagination') ->info('System pagination configuration') ->children() - ->scalarNode('search_limit')->isRequired()->end() + ->scalarNode('search_limit') + ->isRequired() + ->setDeprecated('ezsystems/ezplatform-admin-ui', '2.1', 'The child node "%node%" at path "%path%" is deprecated. Use "search.pagination.limit" instead.') + ->end() ->scalarNode('trash_limit')->isRequired()->end() ->scalarNode('section_limit')->isRequired()->end() ->scalarNode('language_limit')->isRequired()->end()