Install
Works with Drupal: ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
262.19 KB
MD5: 652c1977e76df45fb78aed9d000805de
SHA-1: 24d5606b274803d490d95f13e170c075d381266e
SHA-256: 4303bb09432a515ec4df0e025873c381c52e47dbcf1fbb6217c570ef31b47f8f
Download zip
418.79 KB
MD5: d783b5bee42563cfa89ed70ce35c53da
SHA-1: 08b36d215107fcc411c7c86a1540bf687ba01510
SHA-256: 0d5159713ce8f7a9655ecf878ee79904c553943196828c1b16450897b6f9144f
Release notes
Upgrade notes
- A search page publishes whenever it is saved.
Before, only the search page forms published it. Now a page saved by
drush, a recipe, custom code or a configuration import
(drush cim) publishes too, like a node save. The publish
runs at the end of the request, after the import is complete, and only
when Quant is enabled (quant.settings:quant_enabled) and
the site is connected. A change saved during installation or in
maintenance mode is not published then: it is listed with the changes
that did not reach Quant, and the next save of the page or a seed
publishes it. A site that shares its configuration with another site
publishes to its own project only; turnquant_enabledoff
on a copy that must not publish. Pages saved before the upgrade are not
published again: save them or seed. - A disabled or deleted search page is unpublished, and a
moved one redirects. When a page gets a new address, the old
address is unpublished and redirects (301) to the new one, unless
another search page uses it now. A Quant error during the publish is
logged and listed with the other failed pushes; it does not stop the
save or the import. - "Create a search page" suggests a region for the search
box. It suggestssecondary_menu(Olivero and
themes based on it), then the region of the theme's Drupal search box,
thenheader, and says which one. The choice is shown only
when the block module is installed. - Two search pages cannot have the same address. The
search page form refuses an address that another search page uses, also
when only the case differs (/Searchand
/search), because Quant paths do not depend on case. A
route is saved without spaces or slashes at either end; its case is
kept, so links to it on the site keep working. A change of case only is
not a move: nothing is unpublished or redirected.
Also in this release
- Search page and search box styles follow the site
theme (#269). The default search CSS inherits the theme's
fonts, colours and links; themes can adjust it with
--quant-search-*custom properties (listed in
quant_search.algolia.css). The search box spans the full
width with 44 px submit and clear buttons, filters are tidy rows with
counts at the end, focus outlines are visible, link and button colours
meet WCAG AA, and on narrow screens the filters fold behind a "Filter
results" toggle. Themes that overridesearch-page.html.twig
keep their copy.