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 | 41807baf33e9ccdbf7968317daac42807bb7b0e6 (patch) | |
tree | c0d8025a64fdc8be0c79431dd6b6c57be28c1715 | |
parent | 1dda15a9d0b23522687ce84e05d70c8191cf8aee (diff) | |
download | Ishtar-41807baf33e9ccdbf7968317daac42807bb7b0e6.tar.bz2 Ishtar-41807baf33e9ccdbf7968317daac42807bb7b0e6.zip |
History: do not be strict by default
-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 """ |