Skip to content

Commit 2c24549

Browse files
committed
needing extra 'null'
the method for spaces.listCanEdit has more parameters than before, so without this, it is passing in unprarsable "5" as the data, instead of for the limit
1 parent c0d846a commit 2c24549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/spaces/spaceSelect.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
allowClear: true,
2828
ajax: {
2929
url: function(params) {
30-
return jsRoutes.api.Spaces.listCanEdit(params.term, null, 5).url;
30+
return jsRoutes.api.Spaces.listCanEdit(params.term, null, null, 5).url;
3131
},
3232
data: function(params) {
3333
return { title: params.term };

0 commit comments

Comments
 (0)