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

構造体を名前でソートする

written-by

Mariano Alvaro

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

ここでは、作成したWebコンテンツ構造をアルファベット順に表示する方法について説明します。

解決策

ステップ

  1. portal-ext.propertiesファイルを開きます。
  2. Set journal.browse.by.structures.sorted.by.name to true
  3. サイト管理 > コンテンツ > Webコンテンツ にアクセスし、追加プルダウンメニューをクリックします。

Liferay Portal 6.2 fix pack portal-107以前では、構造物は主キー番号で表示・ソートされていました。 新しいプロパティ、 journal.browse.by.structures.sorted.by.nameが追加されました。

その動作は、次のようなロジックに対応しています:

not set or false;主キーでソートされた構造体が表示されます。

失敗した_01.png

このプロパティが true に設定されている場合、;構造物が名前のアルファベット順に表示されます。

fixed_02.png

did-this-article-resolve-your-issue

legacy-knowledge-base