Skip to content

Commit

Permalink
Merge pull request #10128 from haynescd/feature/10125-Add-Configurati…
Browse files Browse the repository at this point in the history
…on-Property-max-number-of-studies

🔧 Add Configuration Properties for study view summary limits
  • Loading branch information
alisman authored Apr 21, 2023
2 parents 2c107f9 + 95c80c7 commit 593c589
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/deployment/customization/portal.properties-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,15 @@ enable_cross_study_expression = (selectedStudies)=>{ [your logic] return true|fa
enable_cross_study_expression = true|false
```

## Combined Study View Summary Limits
### Background
A limit is added to prevent poor performance of Study View when selecting too large sample numbers.
### Properties
* `studyview.max_samples_selected`: Limit is disabled when not set

### Behavior
When these limits are exceeded the "Explore Selected Studies" button will be disabled on the Study View Page.

## Request Body Compression

### Background
Expand Down
1 change: 1 addition & 0 deletions portal/src/main/webapp/config_service.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
"enable_request_body_gzip_compression",
"enable_treatment_groups",
"query_product_limit",
"studyview.max_samples_selected",
"clinical_attribute_product_limit",
"saml.logout.local",
"skin.citation_rule_text",
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/portal.properties.EXAMPLE
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ setting controlling which name should be used to display the authenticated user
# true | false | (studies)=>{ return true }
# enable_cross_study_expression=

## Combined Study View Comparison Limits
# Any Number | Disabled when not set
# studyview.max_samples_selected=

## change the `-Dauthenticate=` JVM argument to configure
## which method of authentication to use (false, googleplus, social_auth_google, social_auth_microsoft, saml, openid, noauthsessionservice)
Expand Down

0 comments on commit 593c589

Please sign in to comment.