Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
ca19cc0e9fa9
Unverified
Commit
81aebaa1
authored
Jul 30, 2014
by
Dmitriy Zaporozhets
Browse files
Fix issues label finder
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
33f690c7a127
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/finders/base_finder.rb
View file @
ca19cc0e
...
...
@@ -125,7 +125,7 @@ def by_assignee(items)
def
by_label
(
items
)
if
params
[
:label_name
].
present?
items
=
items
.
joins
(
:labels
).
where
(
"labels.title
= ?
"
,
params
[
:label_name
])
items
=
items
.
joins
(
:labels
).
where
(
"labels.title
in (?)
"
,
params
[
:label_name
]
.
split
(
","
)
)
end
items
...
...
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