summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/pages
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-25 07:46:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-25 07:46:39 +0900
commit0db54386cdef3f444f1afb4f3b8bfcaeab7ac68d (patch)
tree38d3d6b2112326bb1a03a8732cd8969e24d693de /src/client/app/mobile/views/pages
parentFix #4793 (diff)
downloadmisskey-0db54386cdef3f444f1afb4f3b8bfcaeab7ac68d.tar.gz
misskey-0db54386cdef3f444f1afb4f3b8bfcaeab7ac68d.tar.bz2
misskey-0db54386cdef3f444f1afb4f3b8bfcaeab7ac68d.zip
Resolve #3119
Diffstat (limited to 'src/client/app/mobile/views/pages')
-rw-r--r--src/client/app/mobile/views/pages/search.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/app/mobile/views/pages/search.vue b/src/client/app/mobile/views/pages/search.vue
index 0225dd9e9f..45f3837907 100644
--- a/src/client/app/mobile/views/pages/search.vue
+++ b/src/client/app/mobile/views/pages/search.vue
@@ -12,6 +12,7 @@
import Vue from 'vue';
import i18n from '../../../i18n';
import Progress from '../../../common/scripts/loading';
+import { genSearchQuery } from '../../../common/scripts/gen-search-query';
const limit = 20;
@@ -19,10 +20,10 @@ export default Vue.extend({
i18n: i18n('mobile/views/pages/search.vue'),
data() {
return {
- makePromise: cursor => this.$root.api('notes/search', {
+ makePromise: async cursor => this.$root.api('notes/search', {
limit: limit + 1,
untilId: cursor ? cursor : undefined,
- query: this.q
+ ...(await genSearchQuery(this, this.q))
}).then(notes => {
if (notes.length == limit + 1) {
notes.pop();