diff --git a/config/module.ini b/config/module.ini index 03ee8a75..d9d0b584 100644 --- a/config/module.ini +++ b/config/module.ini @@ -1,12 +1,12 @@ [info] name = "Search" -description = "Add improved search capabilities to Omeka S: filters, facets, etc." -tags = "search, advanced search, filter, facet" +description = "Add improved search capabilities to Omeka S: auto-suggest, filters, facets, etc." +tags = "search, advanced search, auto-suggest, filter, facet" license = "CECILL-2.1" author = "Daniel Berthereau (based on the module Search of BibLibre)" author_link = "https://gitlab.com/Daniel-KM" module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-Search" support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-Search/-/issues" configurable = false -version = "3.5.21.3" +version = "3.5.22.3" omeka_version_constraint = "^3.0.0" diff --git a/data/scripts/upgrade.php b/data/scripts/upgrade.php index 6de47aa6..a35fb8cc 100644 --- a/data/scripts/upgrade.php +++ b/data/scripts/upgrade.php @@ -372,4 +372,13 @@ $message = new Message( 'The search page form defines new keys and use sub settings, in particular for facets. Check your theme if it was customized.' // @translate ); + $messenger->addWarning($message); +} + +if (version_compare($oldVersion, '3.5.22.3', '<')) { + $messenger = new Messenger(); + $message = new Message( + 'You may enable the auto-suggestion in the search page settings.' // @translate + ); + $messenger->addSuccess($message); }