diff options
author | Vitaly Takmazov | 2020-10-20 23:43:41 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-20 23:43:41 +0300 |
commit | ddfaa389a00fc198a35f8d505b24d9eb50ff75a5 (patch) | |
tree | c8d6efef9d4e984d6f85c912d85d8f5e85c3326d /src/main/java/com/juick/service/MessagesServiceImpl.java | |
parent | 7feb5789d1eedd9e3b0ec88c5a8209e116e2b28e (diff) |
Revert "Append * to keyword search"
This reverts commit 85c5c69ffb5a14258eafb4c67c550f6018b3c621.
Diffstat (limited to 'src/main/java/com/juick/service/MessagesServiceImpl.java')
-rw-r--r-- | src/main/java/com/juick/service/MessagesServiceImpl.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java index 49fc4f1f..b3b51bcc 100644 --- a/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -724,8 +724,8 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ @Transactional(readOnly = true) @Override - public List<Integer> getSearch(final User visitor, final String search, final int page, final boolean isTag) { - return searchService.searchInAllMessages(visitor, search, page, isTag); + public List<Integer> getSearch(final User visitor, final String search, final int page) { + return searchService.searchInAllMessages(visitor, search, page); } @Transactional(readOnly = true) @@ -863,9 +863,8 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ @Transactional(readOnly = true) @Override - public List<Integer> getUserSearch(final User visitor, final int UID, final String search, final int privacy, - final int page, final boolean isTag) { - return searchService.searchByStringAndUser(visitor, search, UID, page, isTag); + public List<Integer> getUserSearch(final User visitor, final int UID, final String search, final int privacy, final int page) { + return searchService.searchByStringAndUser(visitor, search, UID, page); } @Transactional(readOnly = true) |