legacy-knowledge-base
公開されました Jul. 2, 2025

アセットパブリッシャーポートレットのページネーションのドロップダウンカウント

written-by

Justin Mann

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

learn-legacy-article-disclaimer-text

問題

  • Asset Publisher ポートレットのページネーション ドロップダウン メニューに表示されるページ数は、そのサイトに存在するページの総数ではありません。 例えば、合計30ページある場合、26ページまでしか表示されません。

環境への配慮

  • ライフレイDXP 7.0

決議

  • portal プロパティ search.container.page.iterator.max.pagesを使用して、ページ分割ドロップダウンメニューに表示されるページ数を制御することができます。
  • これは、portal.properties ファイルにあるデフォルト値のポータル・プロパティです。
# Set the maximum number of pages available above and below the currently
# displayed page.
#
# Env: LIFERAY_SEARCH_PERIOD_CONTAINER_PERIOD_PAGE_PERIOD_ITERATOR_PERIOD_MAX_PERIOD_PAGES
#
search.container.page.iterator.max.pages=25
  • ページネーションのドロップダウンメニューに表示されるページ数を増やすには、プロパティをページ数に対応した高い数値に設定します。
did-this-article-resolve-your-issue

legacy-knowledge-base