Skip to content

Commit 3eeb140

Browse files
committed
Fixed filtering by label (#250).
1 parent 7b6f8b3 commit 3eeb140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/models/MergeRequestFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public GitLabApiForm getQueryParams() {
300300
.withParam("sort", sort)
301301
.withParam("milestone", milestone)
302302
.withParam("view", (simpleView != null && simpleView ? "simple" : null))
303-
.withParam("labels", labels)
303+
.withParam("labels", (labels != null? String.join(",", labels) : null))
304304
.withParam("created_after", createdAfter)
305305
.withParam("created_before", createdBefore)
306306
.withParam("updated_after", updatedAfter)

0 commit comments

Comments
 (0)