Daniel-KM / Omeka-S-module-AdvancedSearch

Module for Omeka S that improves search with new fields, auto-suggest, filters, facets, specific pages, etc.
Other
3 stars 2 forks source link

Corrupted line in src #16

Closed jsilves1 closed 1 month ago

jsilves1 commented 1 month ago

After adding AdvancedSearch 3.4.33 to Omeka S, kept getting the following error:

Error: Call to undefined function AdvancedSearch\Form\pù() in /omeka-s/modules/AdvancedSearch/src/Form/MainSearchForm.php:1103

Checking the source file MainSerachForm.php found the following near line 1103,

case 'resource_template/o:id': $grouped = in_array($filter['type'] ?? '', ['SelectGroup', 'MultiSelectGroup']); pù($filter); return $this->listResourceTemplates($grouped);

Commented out pù($filter); and module appears to work. Just not sure what pù($filter); was supposed to be.

Daniel-KM commented 1 month ago

Yes, it is a debug code and is fixed in last commit, but the new release is not yet published.

Daniel-KM commented 1 month ago

Version 3.4.34 is published.