🐛 Fix search only returning results in primary language

Fixes #229
pull/231/head
James Panther 2022-06-25 10:48:27 +10:00
parent 460a5ad822
commit bdf9928443
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 4 additions and 3 deletions

View File

@ -8,12 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed ### Changed
- Site search will now return results for all page types, including lists and taxonomies - Search will now return results for all page types, including lists and taxonomies
- Upgrade to Tailwind v3.1.4 ([#225](https://github.com/jpanther/congo/pull/225)) - Upgrade to Tailwind v3.1.4 ([#225](https://github.com/jpanther/congo/pull/225))
### Fixed ### Fixed
- Search would not appear in header if main menu had no links to display - Search link does not appear in header if main menu has no items to display
- Search only returns results in the primary language when multiple languages are available ([#229](https://github.com/jpanther/congo/issues/229))
## [2.2.3] - 2022-06-22 ## [2.2.3] - 2022-06-22

View File

@ -1,7 +1,7 @@
<div <div
id="search-wrapper" id="search-wrapper"
class="fixed inset-0 z-50 flex flex-col p-4 sm:p-6 md:p-[10vh] lg:p-[12vh] w-screen h-screen cursor-default bg-neutral-500/50 backdrop-blur-sm dark:bg-neutral-900/50 invisible" class="fixed inset-0 z-50 flex flex-col p-4 sm:p-6 md:p-[10vh] lg:p-[12vh] w-screen h-screen cursor-default bg-neutral-500/50 backdrop-blur-sm dark:bg-neutral-900/50 invisible"
data-url="{{ .Site.BaseURL }}" data-url="{{ "" | absLangURL }}"
> >
<div <div
id="search-modal" id="search-modal"