look up firmware first seen timestamp correctly (for real now)
This commit is contained in:
parent
a09a34638d
commit
b7c6fe8cfc
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ class MeshNodeQuerySet(models.QuerySet):
|
||||||
message_type=MeshMessageType.CONFIG_FIRMWARE.name,
|
message_type=MeshMessageType.CONFIG_FIRMWARE.name,
|
||||||
data__content__app_desc__app_elf_sha256__in=(node._firmware_description.sha256_hash
|
data__content__app_desc__app_elf_sha256__in=(node._firmware_description.sha256_hash
|
||||||
for node in nodes_to_complete)
|
for node in nodes_to_complete)
|
||||||
).order_by('data__content__app_elf_sha256',
|
).order_by('data__content__app_desc__app_elf_sha256',
|
||||||
'datetime').distinct('data__content__app_elf_sha256')
|
'datetime').distinct('data__content__app_desc__app_elf_sha256')
|
||||||
}
|
}
|
||||||
print(created_lookup)
|
print(created_lookup)
|
||||||
except NotSupportedError:
|
except NotSupportedError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue