03-30-2015, 03:43 PM
Found it
in VTActiveResource.php
function defaultScope :
add the condition in the switch
case 'Points': //MSL
$condition = array('condition'=>"accountid='".Yii::app()->user->accountId."'");
break;
it does not construct the condition automatically using the field definition (ex : if uipte =10 and reltabid = 6) ==> $fieldname ==> ...
in VTActiveResource.php
function defaultScope :
add the condition in the switch
case 'Points': //MSL
$condition = array('condition'=>"accountid='".Yii::app()->user->accountId."'");
break;
it does not construct the condition automatically using the field definition (ex : if uipte =10 and reltabid = 6) ==> $fieldname ==> ...