projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e87a430
)
Passage de la taille du batch de photos de 20 à 50, avec 5 d'orphelins.
author
Benoît Pin
<benoit.pin@gmail.com>
Mon, 1 Nov 2010 22:16:28 +0000
(23:16 +0100)
committer
Benoît Pin
<benoit.pin@gmail.com>
Mon, 1 Nov 2010 22:16:28 +0000
(23:16 +0100)
skins/getPhotosInfos.py
patch
|
blob
|
history
diff --git
a/skins/getPhotosInfos.py
b/skins/getPhotosInfos.py
index
69a2a13
..
00cd295
100755
(executable)
--- a/
skins/getPhotosInfos.py
+++ b/
skins/getPhotosInfos.py
@@
-22,7
+22,7
@@
if mtool.checkPermission(ReviewPortalContent, context) :
req = context.REQUEST
pho_start = req.get('pho_start', 0)
batch = Batch(portfolio.listNearestFolderContents(contentFilter={'portal_type' : ['Photo']}, sorted=True),
req = context.REQUEST
pho_start = req.get('pho_start', 0)
batch = Batch(portfolio.listNearestFolderContents(contentFilter={'portal_type' : ['Photo']}, sorted=True),
-
20, pho_start, orphan=1
, quantumleap=1, b_start_str='pho_start')
+
50, pho_start, orphan=5
, quantumleap=1, b_start_str='pho_start')
infos = []
infos = []