Skip to content

Commit fd69d75

Browse files
authored
Fix whereStatus error (#9)
2 parents a81a051 + e05aea2 commit fd69d75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Typesense/Query.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ public function getSearchResults($query)
1919
return $this;
2020
}
2121

22+
public function whereStatus($string)
23+
{
24+
return $this->where('status', $string);
25+
}
26+
2227
private function getApiResults()
2328
{
2429
return $this->index->searchUsingApi($this->query ?? '', ['per_page' => $this->perPage, 'page' => $this->page]);

0 commit comments

Comments
 (0)