mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 04:07:11 +00:00
fix bugs on reload of logbook
This commit is contained in:
@@ -543,6 +543,9 @@ def clean_logbook_for_expedition(expedition):
|
||||
"""Only used when loading a single logbook. Deletes database LogBookEntries and
|
||||
DataIssues for this expedition year.
|
||||
"""
|
||||
global tripsdate
|
||||
tripsdate = {}
|
||||
|
||||
lbes = LogbookEntry.objects.filter(expedition=expedition).delete()
|
||||
dataissues = DataIssue.objects.filter(parser="logbooks")
|
||||
for di in dataissues:
|
||||
|
||||
Reference in New Issue
Block a user