Skip to content

Commit

Permalink
Refs #81 - changes copied from master branch commit 3d5b185
Browse files Browse the repository at this point in the history
  • Loading branch information
cbmarcum committed Oct 26, 2019
1 parent 7b8916d commit 298d9f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ProductController {
}
}

params.max = Math.min(params.max ? params.int('max') : 3, 100) // 3 was 10, changed for demo
params.max = Math.min(params.max ? params.int('max') : 12, 100)
params.offset = params.offset ? params.int('offset') : 0

if (params.keyword) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class BootstrapTagLib {
def maxsteps = (attrs.int('maxsteps') ?: 10)

if (!offset)offset = (attrs.int('offset') ?: 0)
if (!max) max = (attrs.int('max') ?: 10)
if (!max) max = (attrs.int('max') ?: 12)

def linkParams = [:]
if (attrs.params) linkParams.putAll(attrs.params)
Expand Down

0 comments on commit 298d9f5

Please sign in to comment.