From e86a5cad64d43662b77ebfdcb6dc5318e1e868b2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 29 May 2019 09:56:28 +0200 Subject: History: do not be strict by default --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 521a3239e..d95986c70 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1898,7 +1898,7 @@ class BaseHistorizedItem(FullSearch, Imported, JsonData, FixAssociated): return return q.all()[0]['history_date'] - def get_previous(self, step=None, date=None, strict=True): + def get_previous(self, step=None, date=None, strict=False): """ Get a "step" previous state of the item """ -- cgit v1.2.3