Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
681b50f4
Commit
681b50f4
authored
Apr 05, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
not before term
parent
dfb0614b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/util/util.js
src/util/util.js
+6
-5
No files found.
src/util/util.js
View file @
681b50f4
...
...
@@ -998,6 +998,11 @@ morpheus.Util.createSearchPredicates = function(options) {
tokens
.
forEach
(
function
(
token
)
{
var
isNot
=
false
;
if
(
token
[
0
]
===
'
-
'
)
{
// not predicate
token
=
token
.
substring
(
1
);
isNot
=
true
;
}
var
field
=
null
;
var
semi
=
token
.
indexOf
(
'
:
'
);
if
(
semi
>
0
)
{
// field search?
...
...
@@ -1031,11 +1036,7 @@ morpheus.Util.createSearchPredicates = function(options) {
}
}
}
var
isNot
=
false
;
if
(
token
[
0
]
===
'
-
'
)
{
// not predicate
token
=
token
.
substring
(
1
);
isNot
=
true
;
}
var
predicate
;
var
rangeIndex
=
-
1
;
var
rangeToken
=
null
;
...
...
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