From a765f01a35e2da5f614f8da45e995a9d70db6fba Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Tue, 5 Oct 2021 10:00:51 +0200 Subject: [PATCH] TT#144000 fix /api/ncoslnpcarriers rail the form used for the /api/ncoslnpcarriers rail uses the same technique to expose a JSON field "carrier_id" for the table column "lnp_provider_id", also found in the /api/lnpnumbers rail implementation. it however did not work until now, because the fieldname in the render_list did not match. Change-Id: I45dca22bab73e16b538de7ea1d540aa1383fb56d (cherry picked from commit 053b013edf0fedfdf3c4be0ff4a9cee9ba64ef1e) --- lib/NGCP/Panel/Form/NCOS/LnpAPI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Form/NCOS/LnpAPI.pm b/lib/NGCP/Panel/Form/NCOS/LnpAPI.pm index 6027f3c092..2279165608 100644 --- a/lib/NGCP/Panel/Form/NCOS/LnpAPI.pm +++ b/lib/NGCP/Panel/Form/NCOS/LnpAPI.pm @@ -15,7 +15,7 @@ has_field 'ncos_level_id' => ( has_block 'fields' => ( tag => 'div', class => [qw/modal-body/], - render_list => [qw/description ncos_level_id lnp_provider_id/], + render_list => [qw/description ncos_level_id /], ); 1;