mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 21:36:07 +03:00
fix search in category
This commit is contained in:
parent
ff7f766ce7
commit
b7e6272532
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ public class NoteSQLiteOpenHelper extends SQLiteOpenHelper {
|
|||
}
|
||||
|
||||
if (category != null) {
|
||||
where.add(key_category + "=? OR " + key_category + " LIKE ?");
|
||||
where.add("(" + key_category + "=? OR " + key_category + " LIKE ? )");
|
||||
args.add(category);
|
||||
args.add(category + "/%");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue