You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Pos method used in SilverStripe template loops supports adjusting the starting number of the position index (see silverstripe-framework/src/View/SSViewer_BasicIteratorSupport.php). It would be good to add feature parity for those wishing to use zero based indexes ;)
Description
The
Pos
method used in SilverStripe template loops supports adjusting the starting number of the position index (see silverstripe-framework/src/View/SSViewer_BasicIteratorSupport.php). It would be good to add feature parity for those wishing to use zero based indexes ;)Additional context or points of discussion
No response
Validations
PRs
$startIndex
param toPos
method #1225The text was updated successfully, but these errors were encountered: