Browse Source

add $response->getPage()

visuddhinanda 2 years ago
parent
commit
2e442f39d3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Tools/PaliSearch.php

+ 1 - 0
app/Tools/PaliSearch.php

@@ -32,6 +32,7 @@ class PaliSearch
         }
         $output = [];
         $output['total'] = $response->getTotal();
+        $output['page'] = $response->getPage();
         $output['rows'] = [];
         foreach ($response->getItems() as $key => $value) {
             $output['rows'][] = (object)[