]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IC.pm
Limit in all_parts ist nicht nur für top100 da.
[mfinanz.git] / SL / IC.pm
index 426fc9fc3f9ff00998c308dddd05c30002e7dbdf..50c1172b0a8fcb49acdc9f70ff421668660460d7 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -937,7 +937,9 @@ sub all_parts {
 
   #my $order_clause = " ORDER BY $form->{sort} $sort_order";
 
-  my $limit_clause = " LIMIT 100" if $form->{top100};
+  my $limit_clause;
+  $limit_clause = " LIMIT 100"                   if $form->{top100};
+  $limit_clause = " LIMIT " . $form->{limit} * 1 if $form->{limit} * 1;
 
   #=== joins and complicated filters ========#