From 6969fb6c54ce7f6630ae36d0d814aa6f4341c8d8 Mon Sep 17 00:00:00 2001 From: Guillermo Azurdia Date: Wed, 29 Jan 2025 09:35:02 -0500 Subject: [PATCH] [5.x] Fix search:results tag when offset and paginate are set (#11386) Co-authored-by: Duncan McClean --- src/Search/Result.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Search/Result.php b/src/Search/Result.php index 875b7984b2..281dc423bc 100644 --- a/src/Search/Result.php +++ b/src/Search/Result.php @@ -143,4 +143,9 @@ public function setSupplement($key, $value) { $this->searchable->setSupplement($key, $value); } + + public function __call($method, $args) + { + return $this->searchable->$method(...$args); + } }