From f9e79b08ff25461b9a8f5d7e8d4a564f1f614562 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Tue, 21 Jan 2014 20:51:09 +0100 Subject: fix #3560: Search bar shall match against owner --- main/src/cgeo/geocaching/DataStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src') diff --git a/main/src/cgeo/geocaching/DataStore.java b/main/src/cgeo/geocaching/DataStore.java index 6e8e833..5cc77dc 100644 --- a/main/src/cgeo/geocaching/DataStore.java +++ b/main/src/cgeo/geocaching/DataStore.java @@ -3122,8 +3122,8 @@ public class DataStore { Cursor cursor = database.query( dbTableCaches, new String[] { "geocode", "name" }, - "geocode IS NOT NULL AND geocode != '' AND (geocode LIKE ? OR name LIKE ?)", - new String[] { selectionArg, selectionArg }, + "geocode IS NOT NULL AND geocode != '' AND (geocode LIKE ? OR name LIKE ? OR owner LIKE ?)", + new String[] { selectionArg, selectionArg, selectionArg }, null, null, "name"); -- cgit v1.1