diff options
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 |
commit | e86a5cad64d43662b77ebfdcb6dc5318e1e868b2 (patch) | |
tree | c0d8025a64fdc8be0c79431dd6b6c57be28c1715 /ishtar_common | |
parent | fe3e9238fe03bcb5c114ad64af1dc97fc423ceab (diff) | |
download | Ishtar-e86a5cad64d43662b77ebfdcb6dc5318e1e868b2.tar.bz2 Ishtar-e86a5cad64d43662b77ebfdcb6dc5318e1e868b2.zip |
History: do not be strict by default
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/models.py | 2 |
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 """ |