1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

repair search bug (#2789)

This commit is contained in:
杨顺强
2019-01-08 23:02:09 +08:00
committed by Daniel Pan
parent 833f70a8cb
commit b8d67abd67

View File

@@ -171,9 +171,7 @@ class Search extends Component {
let queryData = {
q: newValue,
search_repo: repoID ? repoID : 'all',
search_ftypes: repoID ? 'custom' : 'all',
ftype: repoID ? 'Markdown' : '',
input_fexts: repoID ? 'md' : ''
search_ftypes: 'all',
};
let params = '';
for (let key in queryData) {