Browse preview query issue

I try to add a block preview on a site page. I fill in the different fields:

  • Ressource type: item
  • Query: ?item_set_id=23&sort_by=dcterms:title&sort_order=asc
  • Limit: 7
  • Preview Title: Derniers ajoutés
  • Link text: Accès à tous les documents

And I got an issue: ‘Warning : Invalid argument supplied for foreach() in /var/www/html/neptun/themes/bcw/view/common/block-layout/browse-preview.phtml on line 11

Anyone else having this problem?

Is there an issue with the default theme? You probably upgraded Omeka, but not your theme in the specified file.

And try to remove the “?” before the query.

1 Like

Thank you. I try this…

It works :grinning::+1: