From e1e39b909a07b5e1a8c7334432d556a3bf1c1f60 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sun, 11 May 2014 18:35:44 +0200 Subject: fix: don't show suggestion which cannot be found Until now the owner display text was suggested when searching for the owner. But the online search only searches for the user real name. E.g. when a cache displayed "X and Y" as owner, the real owner is often only "X". --- main/src/cgeo/geocaching/DataStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src') diff --git a/main/src/cgeo/geocaching/DataStore.java b/main/src/cgeo/geocaching/DataStore.java index c66b653..61e540a 100644 --- a/main/src/cgeo/geocaching/DataStore.java +++ b/main/src/cgeo/geocaching/DataStore.java @@ -3165,7 +3165,7 @@ public class DataStore { } public static String[] getSuggestionsOwnerName(String input) { - return getSuggestions(dbTableCaches, "owner", input); + return getSuggestions(dbTableCaches, "owner_real", input); } public static String[] getSuggestionsTrackableCode(String input) { -- cgit v1.1