TT#128552 Add filtering by name for /api/billingprofiles

Change-Id: I8b62b4b7ad4aec3d0538fb84a3b73e451fcb1db1
(cherry picked from commit c1752e7e82)
mr9.5.1
Flaviu Mates 5 years ago
parent 87c1305ca0
commit 18c4692fcc

@ -44,6 +44,17 @@ sub query_params {
second => sub {},
},
},
{
param => 'name',
description => 'Filter for billing profiles with a specific name',
query => {
first => sub {
my $q = shift;
{ name => { like => $q } };
},
second => sub {},
},
},
];
}

Loading…
Cancel
Save