Skip to content

Commit

Permalink
bug fix (center page, role selection UI)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouji2013 committed Jan 6, 2022
1 parent 5c7690f commit 74a3a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void setMaxNumberOfEntities(Integer maxNumberOfEntities) {
@RequestMapping(value="{type}", method = {RequestMethod.GET, RequestMethod.POST}, headers = "Accept=application/json")
public ResponseEntity<String> getSearchResultsInJson(
@PathVariable String type,
@RequestParam("filterBy") Integer filterBy,
@RequestParam(value = "filterBy", required = false) Integer filterBy,
@RequestParam(value = "getAll", required = false, defaultValue = "false") Boolean getAll
) {
HttpHeaders headers = new HttpHeaders();
Expand Down
4 changes: 2 additions & 2 deletions web/src/main/webapp/js/ctd2.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ import ObservationView from './observation.view.js'
urlRoot: BASE_URL + "get/center"
});
const SubmissionCenters = Backbone.Collection.extend({
url: BASE_URL + "list/center/?filterBy=",
url: BASE_URL + "list/center",
model: SubmissionCenter
});

Expand Down Expand Up @@ -215,7 +215,7 @@ import ObservationView from './observation.view.js'

const SubjectRole = Backbone.Model.extend({});
const SubjectRoles = Backbone.Collection.extend({
url: BASE_URL + "list/role?filterBy=",
url: BASE_URL + "list/role",
model: SubjectRole
});

Expand Down

1 comment on commit 74a3a8f

@zhouji2013
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was basically some slack code that is not longer allowed by the newer version of spring (5.3.14)

Please sign in to comment.