Legacy Knowledge Base
公開されました Jul. 2, 2025

Liferay Commerce、Placed Orders ウィジェット: ブラウザの [戻る] ボタンを押すとページ設定が失われる

Written By

Phil Chapman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • ブラウザーの戻るボタンを使用すると、Commerce の Placed Orders ウィジェットで、ページ配置とページ構成ごとのアイテムの両方が失われます。

    セットアップ例
    1. 商業命令
    2 を 5 回完了する。 注文画面に移動します。 > ページあたりのアイテム数を 4 (可能な限り低い値) に設定します。

    4.png
    3. ページ 2
    4 に移動します。 [表示] ボタンをクリックして、最後の注文
    5 の注文の詳細を表示します。 ブラウザ「
    」



    5.png

Environment

  • DXP 7.3

解決策

  • これは、現時点で製品の既知の制限です。

    現在の実装では、 itemsPerPage および pageNumberの値がハードコードされています。これは、初期表示値が常に「1 ページあたり 10 アイテム」であることを意味するため、上記の場合、ページが更新されるか戻るボタンが押されると、5 つの注文すべてが表示されます。押されます。

Did this article resolve your issue ?

Legacy Knowledge Base