magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

"Pagination Frame Skip" not working in Single Store mode #38256

Open dchaykas opened 11 months ago

dchaykas commented 11 months ago

Preconditions and environment

Steps to reproduce

  1. In Admin, navigate to Content -> Configuration.
  2. A single grid entry should be visible, click "Edit" in Action column. This is a website scope entry.
  3. Scroll down to "Pagination" section
  4. Set "Pagination Frame Skip" to 10 (or a value according to the result set size so that pagination is visible)

Expected result

Pagination frame skip should be visible on the frontend with skip frame "..." when permitted.

Actual result

Pagination frame skip is not visible.

Additional information

This is happening because the "pagination frame skip" configuration is explicitly fetched for the Store scope. vendor/magento/module-catalog/Block/Product/ProductList/Toolbar.php:692 getPagerHtml function

)->setJump(
                $this->_scopeConfig->getValue(
                    'design/pagination/pagination_frame_skip',
                    \Magento\Store\Model\ScopeInterface::SCOPE_STORE
                )

Release note

No response

Triage and priority

m2-assistant[bot] commented 11 months ago

Hi @dchaykas. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

dchaykas commented 11 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 11 months ago

Hi @dchaykas. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 11 months ago

Hi @dchaykas, here is your Magento Instance: https://5de660d20d46b6a177d4eac684f63302.instances-prod.magento-community.engineering Admin access: https://5de660d20d46b6a177d4eac684f63302.instances-prod.magento-community.engineering/admin_a80c Login: 309a0677 Password: 1d24b3a2fb71

m2-assistant[bot] commented 11 months ago

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:


m2-assistant[bot] commented 11 months ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 11 months ago

Hi @dchaykas,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce

Main-Website-Design-Content-Magento-Admin

Tops-Men

Pagination frame skip is not visible.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 11 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-10673 is successfully created for this GitHub issue.

m2-assistant[bot] commented 11 months ago

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.