Browse Source

Merge pull request #1805 from visuddhinanda/laravel

add $response->getPage()
visuddhinanda 2 năm trước cách đây
mục cha
commit
8c5f5fba99
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  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)[