Skip to content

Commit

Permalink
make search exact
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish3 committed Nov 23, 2021
1 parent 5200b93 commit 509a9b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Blogify

## 1.0.4 - 2021-11-23
### Fixed
- Made search exact

## 1.0.3 - 2021-11-22
### Changed
- Changed logo
Expand Down
2 changes: 1 addition & 1 deletion src/twigextensions/BlogTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function search($query)
{
return Entry::find()
->section(Handles::CHANNEL)
->search($query);
->search('"' . $query . '"');
}


Expand Down

0 comments on commit 509a9b7

Please sign in to comment.