Skip to content

Instantly share code, notes, and snippets.

@yangkun
Created July 14, 2015 22:34
Show Gist options
  • Save yangkun/49c9cacb2f3931bb4ed9 to your computer and use it in GitHub Desktop.
Save yangkun/49c9cacb2f3931bb4ed9 to your computer and use it in GitHub Desktop.
[velocity] list $no
#set($no = $__query__.Rows - (($__query__.Page - 1) * $__query__.PageSize + ($foreach.count - 1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment