Skip to content

Commit 0a0c30f

Browse files
authored
Merge branch 'main' into feature/statamic-6
2 parents 7ee1fe0 + 8a37265 commit 0a0c30f

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## v2.4.0 - 2026-01-08
6+
7+
### What's Changed
8+
9+
* Push typesense-php version to ^5.1 by @bastihilger in https://github.com/statamic-rad-pack/typesense/pull/22
10+
11+
**Full Changelog**: https://github.com/statamic-rad-pack/typesense/compare/v2.3.2...v2.4.0
12+
13+
## v2.3.2 - 2025-09-17
14+
15+
### What's Changed
16+
17+
* Correct nested where variables by @ryanmitchell in https://github.com/statamic-rad-pack/typesense/pull/20
18+
19+
**Full Changelog**: https://github.com/statamic-rad-pack/typesense/compare/v2.3.1...v2.3.2
20+
521
## v2.3.1 - 2025-07-22
622

723
### What's Fixed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"guzzlehttp/guzzle": "^7.3",
2020
"http-interop/http-factory-guzzle": "^1.0",
2121
"illuminate/support": "^12.0",
22-
"statamic/cms": "^6.0.0-beta.4",
23-
"typesense/typesense-php": "^4.9"
22+
"statamic/cms": "^6.0.0",
23+
"typesense/typesense-php": "^5.1"
2424
},
2525
"require-dev": {
2626
"laravel/pint": "^1.17",

src/Typesense/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private function wheresToFilter(array $wheres): string
3434
$operator = $filterBy != '' ? ($where['boolean'] == 'and' ? ' && ' : ' || ') : '';
3535

3636
if ($where['type'] == 'Nested') {
37-
$filterBy .= $operator.' ( '.$this->wheresToFilter($where->query['wheres']).' ) ';
37+
$filterBy .= $operator.' ( '.$this->wheresToFilter($where['query']->wheres).' ) ';
3838

3939
continue;
4040
}

0 commit comments

Comments
 (0)