TT#78153 fix redis location resultset filtering

Change-Id: I1a66ac922caccc837e70272d33cc8cb66f1ac7e3
(cherry picked from commit 433fcf5726)
changes/76/38676/1
Rene Krenn 5 years ago
parent 5cef5c3240
commit 99d9b42e6b

@ -181,7 +181,7 @@ sub _rows_from_mapkey {
'+select' => ['reseller.id'], '+select' => ['reseller.id'],
'+as' => ['reseller_id'] '+as' => ['reseller_id']
})->first; })->first;
return unless $subscribers_reseller; next unless $subscribers_reseller;
if (exists $filter->{reseller_id} && $filter->{reseller_id} != $subscribers_reseller->get_column('reseller_id')) { if (exists $filter->{reseller_id} && $filter->{reseller_id} != $subscribers_reseller->get_column('reseller_id')) {
next; next;
} }

Loading…
Cancel
Save