Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
corebosCP : custom module show all records
#5
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 ==> ...
Reply


Messages In This Thread
Re: corebosCP : custom module show all records - saidmsl - 03-30-2015, 03:43 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)