Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.7.0-b1
-
Component/s: None
-
Labels:None
Description
TBD
Change stuff that looks like this
if (isset($filters['option_ids'])) { $this->Record->where('package_option_condition_sets.option_id', 'in', $filters['option_ids']); }To something like this
$option_logic->setPackageOptionConditionSets( $this->PackageOptionConditionSets->getAll( [ 'package_id' => $pricing->package_id, 'opition_ids' => $this->Form->collapseObjectArray( $this->PackageOptions->getAllByPackageId( $pricing->package_id, $pricing->term, $pricing->period, $pricing->currency, $currency, $options ), 'id', 'id', ) ], ['option_id'] ) );