diff options
author | desperateCoder <echotodevnull@gmail.com> | 2021-03-28 13:40:29 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2021-03-28 20:00:49 +0300 |
commit | f2e7e9a131955249827cf1ec49972ba740338b2e (patch) | |
tree | 578351e8ef6e11dfd2a60ef415a3abdf1c949abe /app/src/main/java | |
parent | 998472c93956c620817c77fdb69a8d811689a1ba (diff) |
#630 added search-text to filter
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java index 904ecd301..12d75703d 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/persistence/sync/adapters/db/DataBaseAdapter.java @@ -319,7 +319,7 @@ public class DataBaseAdapter { } } if (filter.getFilterText() != null && !filter.getFilterText().isEmpty()) { - query.append("and (c.description like ? or c.title like ?)"); + query.append(" and (c.description like ? or c.title like ?) "); String filterText = "%"+filter.getFilterText()+"%"; args.add(filterText); args.add(filterText); |