From 3b0fe8ceacfb516aeffa45f5d7701804e8a13842 Mon Sep 17 00:00:00 2001 From: Irina Peshinskaya Date: Wed, 27 Feb 2019 23:26:19 +0100 Subject: [PATCH] TT#52980 Return num_lines to api device models lineranges Change-Id: Ifca202d3e77b86e185bf3cf11c1f72b9c2995f6a (cherry picked from commit c4b542d7d667ee46f61df75e642571feac1b6aad) --- lib/NGCP/Panel/Form/Device/Model.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/NGCP/Panel/Form/Device/Model.pm b/lib/NGCP/Panel/Form/Device/Model.pm index 1463dab67e..ffb686df4e 100644 --- a/lib/NGCP/Panel/Form/Device/Model.pm +++ b/lib/NGCP/Panel/Form/Device/Model.pm @@ -172,6 +172,11 @@ has_field 'linerange.keys.id' => ( type => 'Hidden', ); +has_field 'linerange.num_lines' => ( + type => 'Hidden', + readonly => 1, +); + has_field 'linerange.keys.x' => ( type => 'PosInteger', label => 'x',