Skip to content

Commit

Permalink
DidacticTemplate: fix selection of records for page in table (39495)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Dec 15, 2023
1 parent 8e09483 commit 7dd34d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected function getRecords(Order $order, Range $range): array
}
$selected_records = array_slice(
$records,
$range->getStart() * $range->getLength(),
$range->getStart(),
$range->getLength()
);
return $selected_records;
Expand Down

0 comments on commit 7dd34d0

Please sign in to comment.