> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/ja/how-to/how-to-make-a-list-your-users-can-filter.md).

# ユーザーがフィルタリングできるリストを作成する方法

アプリ内のリストをフィルタリングする方法を学びましょう！

{% embed url="<https://youtu.be/dflwpniED-s>" %}

\
まず、アプリにシンプルなリストの画面を追加してみましょう。次に、コンポーネントに移動して、シンプルなリストの上にドロップダウンメニューを追加します。\
チュートリアルでは、すでにデータベースを設定していますので、あなた自身のデータベースを設定するためには、以下の手順が必要です。\\

* 映画用のデータベースコレクションを作成します
* 映画コレクション内には、名前（テキスト）、画像（画像）のプロパティが必要です
* カテゴリ用の別のデータベースコレクションを作成します
* カテゴリコレクション内には、名前のプロパティが必要です。また、映画コレクションとの関係を作成します。これは「多対1」の関係であり、複数のカテゴリが1つの映画に属することを意味します。

\
それでは、シンプルなリストに戻り、映画コレクションにバインドしましょう。また、サブタイトルテキストを更新して、カテゴリ名のマジックテキストを表示します。次に、ドロップダウンメニューをカテゴリコレクションにバインドしましょう。\
次に、フィルターを設定する必要があります！\
シンプルなリストをクリックし、フィルター > すべての映画のところに、カスタムフィルターを追加しましょう。これにより、ユーザーが選択を行うと、ドロップダウンメニューの下に表示されるようになります。\
カスタムフィルターは次のように設定する必要があります：現在の映画 > カテゴリ > 名前が選択されたカテゴリ > 名前を含む\
以上で、シンプルなリストにフィルターが設定されました！

\
クローン可能なリンク → <https://previewer.adalo.com/a4dfdb82-ae59-4ad1-9fec-a9379e8e3c05>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.adalo.com/ja/how-to/how-to-make-a-list-your-users-can-filter.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
