From 2c24549e0488a5118452216a646c9765548d58f0 Mon Sep 17 00:00:00 2001 From: toddn Date: Sun, 19 Sep 2021 20:13:10 -0500 Subject: [PATCH 1/2] 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 --- app/views/spaces/spaceSelect.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/spaces/spaceSelect.scala.html b/app/views/spaces/spaceSelect.scala.html index ebec75238..02121589e 100644 --- a/app/views/spaces/spaceSelect.scala.html +++ b/app/views/spaces/spaceSelect.scala.html @@ -27,7 +27,7 @@ allowClear: true, ajax: { url: function(params) { - return jsRoutes.api.Spaces.listCanEdit(params.term, null, 5).url; + return jsRoutes.api.Spaces.listCanEdit(params.term, null, null, 5).url; }, data: function(params) { return { title: params.term }; From 1814e5b79f0e89f71c8d7e1ba5a4734d1ec2bcbd Mon Sep 17 00:00:00 2001 From: toddn Date: Sun, 19 Sep 2021 20:14:27 -0500 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73cf5b602..11798ee45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased ### Fixed +- Can add dataset to spaces - fixed error when no spaces would load. [#274](https://github.com/clowder-framework/clowder/issues/274) - Typos "success" when returning status from API and "occurred" when logging to console. ### Added