fixed display of qualifier flags
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 18 Nov 2011 20:13:58 +0000 (21:13 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 20:20:24 +0000 (21:20 +0100)
src/libpts/pts/pts_database.c

index 2b0bc41..e72fb5a 100644 (file)
@@ -79,7 +79,7 @@ METHOD(pts_database_t, create_comp_evid_enumerator, enumerator_t*,
                                "SELECT c.vendor_id, c.name, c.qualifier FROM components AS c "
                                "JOIN product_component AS pc ON c.id = pc.component "
                                "JOIN products AS p ON p.id = pc.product "
-                               "WHERE p.name = ? ORDER BY pf.order",
+                               "WHERE p.name = ? ORDER BY pc.sequence",
                                DB_TEXT, product, DB_INT, DB_INT, DB_INT);
        return e;
 }