summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-05-29 09:56:28 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-05-29 09:56:28 +0200
commit41807baf33e9ccdbf7968317daac42807bb7b0e6 (patch)
treec0d8025a64fdc8be0c79431dd6b6c57be28c1715
parent1dda15a9d0b23522687ce84e05d70c8191cf8aee (diff)
downloadIshtar-41807baf33e9ccdbf7968317daac42807bb7b0e6.tar.bz2
Ishtar-41807baf33e9ccdbf7968317daac42807bb7b0e6.zip
History: do not be strict by default
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
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
"""