Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty entity type and bundle select lists #61

Closed
miguelst opened this issue Jan 4, 2021 · 2 comments
Closed

Empty entity type and bundle select lists #61

miguelst opened this issue Jan 4, 2021 · 2 comments

Comments

@miguelst
Copy link

miguelst commented Jan 4, 2021

Dear colleagues,

I've enabled the OpenEuropa List Pages but when I create a new List page the source entity type select list has no options. The same happens with the Source bundle select list; what makes imposible to create a List page. 

Please find attached screenshots that shows the issue.

Captura de pantalla 2020-12-21 a las 17 52 47
Captura de pantalla 2020-12-21 a las 17 52 59

I've read in the repository documentation that it uses the Search API queries and facets. But I dont found instructions how to configure it.

Could you please give me more details on how should be configured?

Thanks,

Miguel

@hernani
Copy link
Member

hernani commented Jan 5, 2021

Hello Miguel,

For content to be exposed and be filterable in lists page you need to have facets associated with a search api index.
The easiest way to see a working example is by enabling oe_list_pages_filters_test module which comes with examples for different content types and fields, and it is also used in tests.

In a nutshell to expose your own content:

  • Configure a search api server and search api index with the entity type you want to allow to be listable (e.g. node).
  • Add the fields you want to expose in the search api index.
  • Create a facet per field you want to expose/filter and assign it with one of List pages widgets (List pages fulltext, List pages date or List pages multiselect).

After that you can create a list with that entity type/bundle and configure the available filters in the list.

@imanoleguskiza
Copy link
Member

Closing the issue since there was no activity in over a year

@imanoleguskiza imanoleguskiza closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants