@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $dataTable = $this->getDataTable(); |
76 | 76 | $odata = $request->getAttribute('odata', new \ODataParams(array())); |
77 | 77 | $areas = $dataTable->read($odata->filter, $odata->select, $odata->top, |
78 | - $odata->skip, $odata->orderby); |
|
78 | + $odata->skip, $odata->orderby); |
|
79 | 79 | return $response->withJson($areas); |
80 | 80 | } |
81 | 81 | |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | $odata = $request->getAttribute('odata', new \ODataParams(array())); |
102 | 102 | $filter = $this->getFilterForPrimaryKey($args['name']); |
103 | 103 | $areas = $dataTable->read($filter, $odata->select, $odata->top, |
104 | - $odata->skip, $odata->orderby); |
|
104 | + $odata->skip, $odata->orderby); |
|
105 | 105 | if(empty($areas)) |
106 | 106 | { |
107 | 107 | return $response->withStatus(404); |
@@ -13,5 +13,5 @@ |
||
13 | 13 | ->withStatus(500) |
14 | 14 | ->withHeader('Content-Type', 'text/html') |
15 | 15 | ->write(print_r($exception, true)); |
16 | - } |
|
16 | + } |
|
17 | 17 | } |