diff --git a/src/acr/browser/lightning/DatabaseHandler.java b/src/acr/browser/lightning/DatabaseHandler.java index aa0f41d..9a0aa2e 100644 --- a/src/acr/browser/lightning/DatabaseHandler.java +++ b/src/acr/browser/lightning/DatabaseHandler.java @@ -111,7 +111,7 @@ public class DatabaseHandler extends SQLiteOpenHelper { List itemList = new ArrayList(); // select query String selectQuery = "SELECT * FROM " + TABLE_HISTORY + " WHERE " + KEY_TITLE + " LIKE '%" - + search + "%'"; + + search + "%' OR " + KEY_URL + " LIKE '%" + search + "%'"; Cursor cursor = mDatabase.rawQuery(selectQuery, null); // looping through all rows and adding to list