]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - ContentHistory.py
fix bug (trouvé par PJ) : le bouton submit sur lequel l’utilisateur avait cliqué...
[Plinn.git] / ContentHistory.py
index 45645a27f898cdba69803e619e7236a3d6a28745..ab745a7daaa19b6884d5f6bcb8b71a2be9be58af 100755 (executable)
@@ -50,7 +50,7 @@ class ContentHistory(Base, Acquisition.Implicit) :
        def listEntries(self, first=0, last=20):
                oid = self._content._p_oid
                db = self._content._p_jar.db()
-               r = db.history(oid, None, last)
+               r = db.history(oid, size=last)
 
                if r is None:
                        # storage doesn't support history