diff --git a/Netdisco/lib/App/Netdisco/Web/Plugin/Report/ModuleInventory.pm b/Netdisco/lib/App/Netdisco/Web/Plugin/Report/ModuleInventory.pm index e32cf4a2..e37c2a6a 100644 --- a/Netdisco/lib/App/Netdisco/Web/Plugin/Report/ModuleInventory.pm +++ b/Netdisco/lib/App/Netdisco/Web/Plugin/Report/ModuleInventory.pm @@ -35,8 +35,6 @@ hook 'before' => sub { }, ] ); - - params->{'limit'} ||= 1024; }; hook 'before_template' => sub { @@ -86,7 +84,7 @@ get '/ajax/content/report/moduleinventory' => require_login sub { { '+columns' => [qw/ device.dns device.name /], join => 'device', collapse => 1, - })->limit( param('limit') )->hri->all; + })->hri->all; } else { @results = $rs->search( diff --git a/Netdisco/share/views/sidebar/report/moduleinventory.tt b/Netdisco/share/views/sidebar/report/moduleinventory.tt index 6399580f..0cb0d9aa 100644 --- a/Netdisco/share/views/sidebar/report/moduleinventory.tt +++ b/Netdisco/share/views/sidebar/report/moduleinventory.tt @@ -1,5 +1,5 @@ -
+