Explorar el Código

Merge pull request #1805 from visuddhinanda/laravel

add $response->getPage()
visuddhinanda hace 2 años
padre
commit
8c5f5fba99
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)[