Require that any column match ALL the words

Fixes #58 for good
This commit is contained in:
Daniel Martí 2015-04-01 00:28:27 +02:00
parent 11205dcf72
commit f948112e42

View File

@ -532,7 +532,7 @@ public class AppProvider extends FDroidProvider {
if (firstKeyword) { if (firstKeyword) {
firstKeyword = false; firstKeyword = false;
} else { } else {
selection.append(" OR "); selection.append(" AND ");
} }
selection.append(column + " like ?"); selection.append(column + " like ?");
selectionKeywords[iKeyword] = keyword; selectionKeywords[iKeyword] = keyword;