Browse preview query issue


#1

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?


#2

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


#3

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


#4

Thank you. I try this…


#5

It works :grinning::+1: