diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2014-05-11 18:35:44 +0200 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2014-05-11 18:35:44 +0200 |
commit | e1e39b909a07b5e1a8c7334432d556a3bf1c1f60 (patch) | |
tree | 9cc32b79bc26b0e752636186b918e838348e59fd /main/src | |
parent | 7bcf0e177f4b8f731fd205ac0baee9a65154091e (diff) | |
download | cgeo-e1e39b909a07b5e1a8c7334432d556a3bf1c1f60.zip cgeo-e1e39b909a07b5e1a8c7334432d556a3bf1c1f60.tar.gz cgeo-e1e39b909a07b5e1a8c7334432d556a3bf1c1f60.tar.bz2 |
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".
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/cgeo/geocaching/DataStore.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |