Skip to content

Commit

Permalink
🐛 Fix search only returning results in primary language
Browse files Browse the repository at this point in the history
Fixes #229
  • Loading branch information
jpanther committed Jun 25, 2022
1 parent 460a5ad commit bdf9928
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### 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))

### 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

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/search.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div
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"
data-url="{{ .Site.BaseURL }}"
data-url="{{ "" | absLangURL }}"
>
<div
id="search-modal"
Expand Down

0 comments on commit bdf9928

Please sign in to comment.