Index: sections.html =================================================================== --- sections.html (revision 623) +++ sections.html (revision 624) @@ -69,7 +69,7 @@ в разделе\ % } % if (!$owner->no_count && $total > 0) { - (всего: <% $total %>, показано с <% $first + 1 %> по <% ($first + $n > $total) ? $total : $first + $n %>) + (всего: <% $total %>, показано с <% $first + 1 %> по <% $sorted ? $total : ($first + $n > $total) ? $total : $first + $n %>) % } elsif ( $owner->no_count ) { (без пересчета, показано с <% $first + 1 %> по <% $first + scalar @documents %>) % } @@ -133,6 +133,7 @@