MT#9671 Add search of subscribers by customer external_id too. Again.

This reverts commit c52040353f.

Tests failed also with this revert, so it seems as safe
to return this functionality.
changes/09/409/1
Irina Peshinskaya 12 years ago
parent c52040353f
commit 64e0428b85

@ -83,6 +83,19 @@ class_has 'query_params' => (
},
},
},
{
param => 'customer_external_id',
description => 'Filter for subscribers of a specific customer external_id.',
query => {
first => sub {
my $q = shift;
return { 'contract.external_id' => { like => $q } };
},
second => sub {
return { join => 'contract' };
},
},
},
{
param => 'is_pbx_group',
description => 'Filter for subscribers who are (not) pbx_groups.',

Loading…
Cancel
Save