From a98f64f46491219b2dafdde295816a4c30d3d3c7 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 12 Mar 2023 11:47:56 +0000 Subject: [PATCH] Sort by name then ESTA ID for manufacturer names So the results are always consistent --- export.py | 1 + 1 file changed, 1 insertion(+) diff --git a/export.py b/export.py index 8d7d85c6..5ab71723 100644 --- a/export.py +++ b/export.py @@ -129,6 +129,7 @@ def get(self): manufacturers = [] query = Manufacturer.all() query.order('name') + query.order('esta_id') for manufacturer in query: if manufacturer.esta_id in [self.ESTA_ID, 0xffff]: continue