Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-client
Commits
90f27163
Commit
90f27163
authored
Aug 23, 2019
by
François Agneray
Browse files
Fixed bug: criterion in
parent
7c7eea0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/search/store/model/select-multiple-criterion.model.ts
View file @
90f27163
...
...
@@ -16,10 +16,6 @@ export class SelectMultipleCriterion extends Criterion {
}
getCriterionStr
():
string
{
if
(
this
.
operator
===
'
eq
'
)
{
return
this
.
id
+
'
::in::
'
+
this
.
options
.
map
(
option
=>
option
.
value
).
join
(
'
|
'
);
}
else
{
return
this
.
options
.
map
(
option
=>
this
.
id
+
'
::
'
+
this
.
operator
+
'
::
'
+
option
.
value
).
join
(
'
;
'
);
}
return
this
.
id
+
'
::in::
'
+
this
.
options
.
map
(
option
=>
option
.
value
).
join
(
'
|
'
);
}
}
Write
Preview
Supports
Markdown
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