X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/blobdiff_plain/011a53d5681ad1f5fa88a534ec041c93d3e7be95..6f4e2f7cda25365c0ca9d1597270200d049daa61:/skins/lightbox_view.py?ds=inline diff --git a/skins/lightbox_view.py b/skins/lightbox_view.py index c459206..2463656 100755 --- a/skins/lightbox_view.py +++ b/skins/lightbox_view.py @@ -33,7 +33,7 @@ else : start = req.get('b_start', 0) brains = [uidh.getBrain(uid) for uid in context.uids] -batch = Batch(brains, 20, start, orphan=1, quantumleap=1) +batch = Batch(brains, context.default_batch_size, start, orphan=1, quantumleap=1) hereUrl = context.absolute_url() cart = sd.get('cart', None) @@ -69,5 +69,6 @@ options['batch'] = batch options['features'] = features options['buttons'] = buttons options['lightboxSelected'] = lightboxSelected +options['container_type'] = 'lightbox' return context.lightbox_view_template(**options)