remove limit from module inventory options

This commit is contained in:
Eric A. Miller
2014-05-29 20:33:58 -04:00
parent 8590b6781f
commit 0288f3be24
2 changed files with 7 additions and 12 deletions

View File

@@ -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(