@@ 672-679 (lines=8) @@ | ||
669 | $requested_version = \EED_Core_Rest_Api::latest_rest_api_version(); |
|
670 | } |
|
671 | $rest_query_params = $model_query_params; |
|
672 | if (isset($model_query_params[0])) { |
|
673 | $rest_query_params['where'] = ModelDataTranslator::prepareConditionsQueryParamsForRestApi( |
|
674 | $model_query_params[0], |
|
675 | $model, |
|
676 | $requested_version |
|
677 | ); |
|
678 | unset($rest_query_params[0]); |
|
679 | } |
|
680 | if (isset($model_query_params['having'])) { |
|
681 | $rest_query_params['having'] = ModelDataTranslator::prepareConditionsQueryParamsForRestApi( |
|
682 | $model_query_params['having'], |
|
@@ 680-686 (lines=7) @@ | ||
677 | ); |
|
678 | unset($rest_query_params[0]); |
|
679 | } |
|
680 | if (isset($model_query_params['having'])) { |
|
681 | $rest_query_params['having'] = ModelDataTranslator::prepareConditionsQueryParamsForRestApi( |
|
682 | $model_query_params['having'], |
|
683 | $model, |
|
684 | $requested_version |
|
685 | ); |
|
686 | } |
|
687 | return apply_filters( |
|
688 | 'FHEE__EventEspresso\core\libraries\rest_api\Model_Data_Translator__prepare_query_params_for_rest_api', |
|
689 | $rest_query_params, |