From c52040353fbcddc5211e0465e3791428c74a0922 Mon Sep 17 00:00:00 2001 From: Irina Peshinskaya Date: Mon, 20 Oct 2014 20:04:22 +0300 Subject: [PATCH] Revert "MT#9671 Add search of subscribers by customer external_id too." This reverts commit a2b4c627f382b0026f2079c3145e9df7feeff735. Reverted to check the cause of the failed api tests. Will be returned just after build if is not a reason for the failed tests. --- lib/NGCP/Panel/Controller/API/Subscribers.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/NGCP/Panel/Controller/API/Subscribers.pm b/lib/NGCP/Panel/Controller/API/Subscribers.pm index f10784cdb5..ce117d727d 100644 --- a/lib/NGCP/Panel/Controller/API/Subscribers.pm +++ b/lib/NGCP/Panel/Controller/API/Subscribers.pm @@ -83,19 +83,6 @@ 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.',