Help topics

A list shows "No filter of" and does not load

A [morphic_list] shortcode with a where or order value shows the message "No filter of ... matches this list" in place of entries. Visitors see nothing at all.

Symptoms

  • For an administrator, the page shows this text in place of the list: No filter of <model> matches this list. Turn on "Filter by this field" for: <fields>.
  • For a visitor who is not an administrator, the list area is empty.

Cause

Morphic builds a query plan for the where and order values of the list. When no plan is found, the list does not load and the message appears in its place. The message names each field in where after "for:".

Morphic builds an index for a field when its Filter by this field option is on.

Fix

If the where field has no index

  1. Go to Models.
  2. Open the model named in the message.
  3. Open the field named after "for:" in the message.
  4. Turn on Filter by this field.
  5. Select Done.
  6. Select Save changes.
  7. Reload the page with the list.

Still not working?

Collect the exact message text and the [morphic_list] shortcode from the page.

Contact us through the contact form with your Morphic version and the exact error text.