From 8229c7930e6421fe816ec76554eb168d8061feb1 Mon Sep 17 00:00:00 2001 From: Joe Z Date: Mon, 18 Apr 2016 12:15:40 -0400 Subject: [PATCH] quick bug correction --- lib/doofinder_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/doofinder_api.php b/lib/doofinder_api.php index 345ed8f..fc1df3d 100644 --- a/lib/doofinder_api.php +++ b/lib/doofinder_api.php @@ -227,7 +227,7 @@ public function query($query=null, $page=null, $options = array()){ { $filter = $params['filter']; unset($params['filter']); - $dfResults = $this->apiCall('search', $params); + $dfResults = new DoofinderResults($this->apiCall('search', $params)); $params['query_name'] = $dfResults->getProperty('query_name'); $params['filter'] = $filter; }