@@ -22,6 +22,9 @@ |
||
22 | 22 | return ['app_title' => $index . '/' . $type, 'data' => ['index' => $index, 'type' => $type, 'documents' => $documents, 'from' => $from, 'nof' => $nof, 'size' => $size, 'sort' => $sort, 'query' => $query]]; |
23 | 23 | } |
24 | 24 | |
25 | +/** |
|
26 | + * @param integer $size |
|
27 | + */ |
|
25 | 28 | function es_type_query($request, $index, $type, $size){ |
26 | 29 | $params = []; |
27 | 30 | $from = $request->getParam('from', 0); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | return ['app_title' => $index . '/' . $type, 'data' => ['index' => $index, 'type' => $type, 'documents' => $documents, 'from' => $from, 'nof' => $nof, 'size' => $size, 'sort' => $sort, 'query' => $query]]; |
23 | 23 | } |
24 | 24 | |
25 | -function es_type_query($request, $index, $type, $size){ |
|
25 | +function es_type_query($request, $index, $type, $size) { |
|
26 | 26 | $params = []; |
27 | 27 | $from = $request->getParam('from', 0); |
28 | 28 | $sort = $request->getParam('sort', ''); |