Pagination prev-next page link swap.
Closed this issue · 0 comments
moshenskyDV commented
Environment
Sonata packages
$ composer show --latest 'sonata-project/*'
sonata-project/admin-bundle 3.35.2 3.35.2 The missing Symfony Admin Generator
sonata-project/block-bundle 3.12.1 3.12.1 Symfony SonataBlockBundle
sonata-project/cache 2.0.1 2.0.1 Cache library
sonata-project/classification-bundle 3.7.0 3.7.0 Symfony SonataClassificationBundle
sonata-project/core-bundle 3.9.1 3.9.1 Symfony SonataCoreBundle
sonata-project/datagrid-bundle 2.3.1 2.3.1 Symfony SonataDatagridBundle
sonata-project/doctrine-extensions 1.0.2 1.0.2 Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 3.6.1 3.6.1 Symfony Sonata / Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/easy-extends-bundle 2.5.0 2.5.0 Symfony SonataEasyExtendsBundle
sonata-project/exporter 1.9.0 1.9.0 Lightweight Exporter library
sonata-project/formatter-bundle 3.5.0 3.5.0 Symfony SonataFormatterBundle
sonata-project/intl-bundle 2.4.1 2.4.1 Symfony SonataIntlBundle
sonata-project/media-bundle 3.13.1 3.13.1 Symfony SonataMediaBundle
sonata-project/notification-bundle 3.5.1 3.5.1 Symfony SonataNotificationBundle
sonata-project/seo-bundle 2.5.1 2.5.1 Symfony SonataSeoBundle
sonata-project/user-bundle 4.2.2 4.2.2 Symfony SonataUserBundle
Symfony packages
$ composer show --latest 'symfony/*'
symfony/asset v4.1.0 v4.1.0 Symfony Asset Component
symfony/cache v4.1.0 v4.1.0 Symfony Cache component with PSR-6, PSR-16, and tags
symfony/class-loader v3.4.11 v3.4.11 Symfony ClassLoader Component
symfony/config v4.1.0 v4.1.0 Symfony Config Component
symfony/console v4.1.0 v4.1.0 Symfony Console Component
symfony/debug v4.1.0 v4.1.0 Symfony Debug Component
symfony/dependency-injection v3.4.11 v4.1.0 Symfony DependencyInjection Component
symfony/doctrine-bridge v4.1.0 v4.1.0 Symfony Doctrine Bridge
symfony/event-dispatcher v4.1.0 v4.1.0 Symfony EventDispatcher Component
symfony/expression-language v4.1.0 v4.1.0 Symfony ExpressionLanguage Component
symfony/filesystem v4.1.0 v4.1.0 Symfony Filesystem Component
symfony/finder v4.1.0 v4.1.0 Symfony Finder Component
symfony/form v3.4.11 v4.1.0 Symfony Form Component
symfony/framework-bundle v3.4.11 v4.1.0 Symfony FrameworkBundle
symfony/http-foundation v4.0.11 v4.1.0 Symfony HttpFoundation Component
symfony/http-kernel v4.0.11 v4.1.0 Symfony HttpKernel Component
symfony/inflector v4.1.0 v4.1.0 Symfony Inflector Component
symfony/intl v4.1.0 v4.1.0 A PHP replacement layer for the C intl extension that includes additional data ...
symfony/options-resolver v4.1.0 v4.1.0 Symfony OptionsResolver Component
symfony/phpunit-bridge v4.1.0 v4.1.0 Symfony PHPUnit Bridge
symfony/polyfill-ctype v1.8.0 v1.8.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-icu v1.8.0 v1.8.0 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring v1.8.0 v1.8.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php70 v1.8.0 v1.8.0 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/property-access v3.4.11 v4.1.0 Symfony PropertyAccess Component
symfony/routing v4.1.0 v4.1.0 Symfony Routing Component
symfony/security v4.1.0 v4.1.0 Symfony Security Component
symfony/security-acl v3.0.1 v3.0.1 Symfony Security Component - ACL (Access Control List)
symfony/security-bundle v4.0.11 v4.1.0 Symfony SecurityBundle
symfony/templating v4.1.0 v4.1.0 Symfony Templating Component
symfony/translation v4.1.0 v4.1.0 Symfony Translation Component
symfony/twig-bridge v4.0.11 v4.1.0 Symfony Twig Bridge
symfony/twig-bundle v4.1.0 v4.1.0 Symfony TwigBundle
symfony/validator v4.1.0 v4.1.0 Symfony Validator Component
PHP version
$ php -v
PHP 7.2.5-0ubuntu0.18.04.1 (cli) (built: May 9 2018 17:21:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.5-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
Subject
In default archive template links on previous and next page changed between themselves (prev -> moving us to next page, and next -> moving us to prev page).
Steps to reproduce
Just add few news and refresh archive page on frontend.
Expected results
Next link move us to next page.
Actual results
Next link move us to prev page.