Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
physical
Commits
ed9064bd
Commit
ed9064bd
authored
May 22, 2019
by
黄凯
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hk' into 'test'
fix bug See merge request alpha/physical!355
parents
d4f2e04c
b02e7e04
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
topic.py
search/utils/topic.py
+1
-1
tag.py
search/views/tag.py
+1
-0
No files found.
search/utils/topic.py
View file @
ed9064bd
...
@@ -354,7 +354,7 @@ class TopicUtils(object):
...
@@ -354,7 +354,7 @@ class TopicUtils(object):
q
=
dict
()
q
=
dict
()
q
[
"query"
]
=
{
q
[
"query"
]
=
{
"term"
:
{
"term"
:
{
"id"
:
user_id
"
user_
id"
:
user_id
}
}
}
}
...
...
search/views/tag.py
View file @
ed9064bd
...
@@ -35,6 +35,7 @@ def query_tag(query,offset,size):
...
@@ -35,6 +35,7 @@ def query_tag(query,offset,size):
"prefix"
:
query
,
"prefix"
:
query
,
"completion"
:{
"completion"
:{
"field"
:
"suggest"
,
"field"
:
"suggest"
,
"size"
:
size
,
"contexts"
:{
"contexts"
:{
"is_online"
:
[
True
],
"is_online"
:
[
True
],
"is_deleted"
:
[
False
]
"is_deleted"
:
[
False
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment