From 5e3552ae3e2a7b689201f5b600ed5d880c8917fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 15 Jul 2010 18:58:26 +0200 Subject: [PATCH] Fix wrong value passed to super call (transplanted from 1636812276c3fc4e38ad1831aff988feeb704958) --- trytond/model/modelsingleton.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trytond/model/modelsingleton.py b/trytond/model/modelsingleton.py index 4e08f11a46..8c53ec5db2 100644 --- a/trytond/model/modelsingleton.py +++ b/trytond/model/modelsingleton.py @@ -84,7 +84,8 @@ class ModelSingleton(ModelStorage): def search(self, cursor, user, domain, offset=0, limit=None, order=None, context=None, count=False): res = super(ModelSingleton, self).search(cursor, user, domain, - offset=0, limit=None, order=None, context=None, count=False) + offset=offset, limit=limit, order=order, context=context, + count=count) if not res: if count: return 1