Page: faceted browse preview block empty

Hi everyone :slight_smile:

I’m configuring faceted-browse, and it works so far.

However, if I use the “faceted browse preview” block on a frontend/site page it’s empty, and only shows the “Browse All” button.

I’m using the “lively theme (v1.0.0)” on Omeka S (v4.1.1).
I know there are more recent versions, but we don’t want to update/change anything right now (no admin time available for update-aftermaths ;P)

Grateful for any insights!

Thanks for the report. This is a bug on our end, but there’s a workaround.

Check whether the category the block points at has any columns configured, under “Columns” on the category’s edit screen. If it has none, that’s your cause: the preview block builds its table entirely from the category’s columns, so with none it renders an empty table with just the “Browse All” button. Adding one will make your items appear, and “Title (link to resource)” is a good first choice.

The public faceted browse page already handles this, which is why the rest of the module looks fine. I’ve fixed the block to match.

If you add a column and it’s still empty, post back. That would be something else, probably the category query not matching any items on that site.


1 Like

Thank you very much for your reply! :cake:

It’s most likely that there are no columns configured yet.

I’ll go check!

Adding columns did the trick!
Thanks for the workaround suggestion.

btw: When adding a column “Value”, the property-dropdown shows /all/ properties known to the system.

Is it possible somehow to limit that list to the properties actually assigned/used to what matches the “Search Query” of the Category?