@@ 2645-2651 (lines=7) @@ | ||
2642 | if ( array_key_exists( 0, $query_params ) ) { |
|
2643 | $this->_extract_related_models_from_sub_params_array_keys( $query_params[0], $query_info_carrier, 0 ); |
|
2644 | } |
|
2645 | if ( array_key_exists( 'group_by', $query_params ) ) { |
|
2646 | if ( is_array( $query_params['group_by'] ) ) { |
|
2647 | $this->_extract_related_models_from_sub_params_array_values( |
|
2648 | $query_params['group_by'], |
|
2649 | $query_info_carrier, |
|
2650 | 'group_by' |
|
2651 | ); |
|
2652 | } elseif ( ! empty ( $query_params['group_by'] ) ) { |
|
2653 | $this->_extract_related_model_info_from_query_param( |
|
2654 | $query_params['group_by'], |
|
@@ 2667-2672 (lines=6) @@ | ||
2664 | 'having' |
|
2665 | ); |
|
2666 | } |
|
2667 | if ( array_key_exists( 'order_by', $query_params ) ) { |
|
2668 | if ( is_array( $query_params['order_by'] ) ) { |
|
2669 | $this->_extract_related_models_from_sub_params_array_keys( |
|
2670 | $query_params['order_by'], |
|
2671 | $query_info_carrier, |
|
2672 | 'order_by' |
|
2673 | ); |
|
2674 | } elseif ( ! empty( $query_params['order_by'] ) ) { |
|
2675 | $this->_extract_related_model_info_from_query_param( |