Skip to content

Commit

Permalink
Changed number of first record from 0 to 1. (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
radekdostal authored and paveljanda committed Mar 11, 2017
1 parent c7f356d commit 3466a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
{if $control->getPerPage() === 'all'}
{='ublaboo_datagrid.items'|translate}: {='ublaboo_datagrid.all'|translate}
{else}
{='ublaboo_datagrid.items'|translate}: {$paginator->getOffset() > 0 ? $paginator->getOffset() + 1 : 0} - {sizeof($rows) + $paginator->getOffset()}
{='ublaboo_datagrid.items'|translate}: {$paginator->getOffset() > 0 ? $paginator->getOffset() + 1 : 1} - {sizeof($rows) + $paginator->getOffset()}
{='ublaboo_datagrid.from'|translate} {$paginator->getItemCount()}
{/if})
</small>
Expand Down

0 comments on commit 3466a99

Please sign in to comment.