View Single Post
Old 17th November 2010, 23:59
teves teves is offline
Senior Member
Join Date: Oct 2006
Posts: 150
Thanks: 27
Thanked 15 Times in 10 Posts

There seems to be an error in the latest remoting framework (beta4.2.2), or perhaps I got something wrong:
when I try the example code to retrieve the client list of a reseller, it does work as long as I use the parameter 'reseller_title'.

// Client List
$params = array ('sid' => $session_id,
       'module' => 'kunde',
       'function' => 'kunde_list',
       'params' => array( reseller_title => 'Fancy reseller name'));

But when I use the 'reseller_id' parameter:
       'params' =>array( reseller_id=> 'reseller1'));
I get a list of all clients instead of those belonging to reseller1. Bug or feature? ;-)

Thanks, Tom
Reply With Quote