Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Mynij-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mynij
Mynij-test
Commits
a86a462d
Commit
a86a462d
authored
May 27, 2019
by
Alexandra Rogova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed faulty query
parent
9c1ad6f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
search.js
search.js
+2
-2
No files found.
search.js
View file @
a86a462d
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
options
;
options
;
options
=
{
options
=
{
query
:
'
(title:"%
'
+
key
+
'
%") OR (title:
'
+
key
+
'
%") OR (body:"%
'
+
key
+
'
%")
'
query
:
'
(title:"%
'
+
key
+
'
%") OR (title:
"
'
+
key
+
'
%") OR (body:"%
'
+
key
+
'
%")
'
};
};
return
gadget
.
state
.
result_gadget
.
clear
()
return
gadget
.
state
.
result_gadget
.
clear
()
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
var
i
,
var
i
,
id
,
id
,
promise_list
=
[];
promise_list
=
[];
for
(
i
=
0
;
i
<
result
.
data
.
rows
.
length
;
i
+=
1
){
for
(
i
=
0
;
i
<
result
.
data
.
rows
.
length
;
i
+=
1
){
id
=
result
.
data
.
rows
[
i
].
id
;
id
=
result
.
data
.
rows
[
i
].
id
;
promise_list
.
push
(
gadget
.
state
.
model_gadget
.
get
(
id
));
promise_list
.
push
(
gadget
.
state
.
model_gadget
.
get
(
id
));
...
...
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