From 0fa3739de2c4cec3ab3a9f186021f9aae0c12ace Mon Sep 17 00:00:00 2001 From: APTX Date: Thu, 25 Apr 2013 03:55:48 +0200 Subject: [PATCH] The results of getFileLocationBatch should be ordered. --- localmylist/database.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/localmylist/database.cpp b/localmylist/database.cpp index 6e6a97e..0bab851 100644 --- a/localmylist/database.cpp +++ b/localmylist/database.cpp @@ -357,6 +357,7 @@ QList Database::getFileLocationBatch(int startLocationId, int limi " FROM file_location fl " " WHERE location_id >= :startLocationId " " AND host_id = :hostId " + " ORDER BY location_id ASC " " LIMIT :limit " ).arg(fileLocationFields())); -- 2.52.0