diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java index 61bd62a1e2..1b4ef91f95 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java @@ -210,7 +210,7 @@ public class TravelDbHelper { TravelArticle travelArticle; SQLiteCursor cursor = conn.rawQuery("SELECT * FROM " + ARTICLES_TABLE_NAME - + " WHERE title IN (SELECT title FROM " + + " WHERE article_id IN (SELECT article_id FROM " + ARTICLES_TABLE_NAME + " ORDER BY RANDOM() LIMIT 100) LIMIT 100", null); if (cursor.moveToFirst()) {