Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
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
Hardik Juneja
jio-main
Commits
4c146466
Commit
4c146466
authored
Feb 25, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
query serializer undefined id fixed
parent
292e3733
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/queries/core/serializer.js
src/queries/core/serializer.js
+2
-2
No files found.
src/queries/core/serializer.js
View file @
4c146466
...
@@ -14,8 +14,8 @@ function objectToSearchText(query) {
...
@@ -14,8 +14,8 @@ function objectToSearchText(query) {
return
str_list
.
join
(
"
"
);
return
str_list
.
join
(
"
"
);
}
}
if
(
query
.
type
===
"
simple
"
)
{
if
(
query
.
type
===
"
simple
"
)
{
return
query
.
id
+
(
query
.
id
?
"
:
"
:
""
)
+
(
query
.
operator
||
"
=
"
)
+
'
"
'
+
return
(
query
.
key
?
query
.
key
+
"
:
"
:
""
)
+
query
.
value
+
'
"
'
;
(
query
.
operator
||
"
=
"
)
+
'
"
'
+
query
.
value
+
'
"
'
;
}
}
throw
new
TypeError
(
"
This object is not a query
"
);
throw
new
TypeError
(
"
This object is not a query
"
);
}
}
...
...
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