| Línea 95... | 
            Línea 95... | 
          
          
            | 95 | 
             
  | 
            95 | 
             
  | 
          
          
            | 96 | 
                        if ($isJson) {
  | 
            96 | 
                        if ($isJson) {
  | 
          
          
            | 97 | 
                            $search = $this->params()->fromQuery('search', []);
  | 
            97 | 
                            $search = $this->params()->fromQuery('search', []);
  | 
          
          
            | Línea 98... | 
            Línea 98... | 
          
          
            | 98 | 
                            $search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
  | 
            98 | 
                            $search = empty($search['value']) ? '' : filter_var($search['value'], FILTER_SANITIZE_STRING);
  | 
          
          
            | 99 | 
             
  | 
            99 | 
             
  | 
          
          
            | - | 
               | 
            100 | 
                            $start = intval($this->params()->fromQuery('start', 0), 10);
  | 
          
          
            | - | 
               | 
            101 | 
                            $records_x_page = intval($this->params()->fromQuery('length', 10), 10);
  | 
          
          
            | - | 
               | 
            102 | 
                            $page =  intval($start / $records_x_page);
  | 
          
          
            | 100 | 
                            $page = intval($this->params()->fromQuery('start', 1), 10);
  | 
            103 | 
                            $page++;
  | 
          
          
            | 101 | 
                            $records_x_page = intval($this->params()->fromQuery('length', 10), 10);
  | 
            104 | 
                            
  | 
          
          
            | 102 | 
                            $order = $this->params()->fromQuery('order', []);
  | 
            105 | 
                            $order = $this->params()->fromQuery('order', []);
  | 
          
          
            | Línea 103... | 
            Línea 106... | 
          
          
            | 103 | 
                            $order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
  | 
            106 | 
                            $order_field = empty($order[0]['column']) ? 99 : intval($order[0]['column'], 10);
  |