-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PORTALS-3361, PORTALS-3364 - Elite Portal scrub #1462
Conversation
export const studiesSql = | ||
'SELECT * FROM syn51523775 ORDER BY isFeatured DESC, dataStatus ASC, studyName ASC' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update default sort for Studies. Currently, all studies have isFeatured=false
. With this sort, studies with dataStatus=Available
will be at the top, sorted in alphabetical order.
@@ -150,10 +151,11 @@ export const studyDetailsPageRoutes: RouteObject[] = [ | |||
shouldDeepLink={false} | |||
defaultShowPlots={false} | |||
lockedColumn={{ | |||
columnName: 'study', | |||
columnName: DATA_TABLE_COLUMN_NAMES.STUDY, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'study'
column name in the data table was renamed to 'Study'
value: value!, | ||
}} | ||
searchParams={{ study: value! }} | ||
searchParams={{ [DATA_TABLE_COLUMN_NAMES.STUDY]: value! }} | ||
fileIdColumnName={DATA_TABLE_COLUMN_NAMES.ID} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ask was to show the access requirement status column. This is a Virtual Table, so we have to define the fileIdColumnName
prop to show it.
@@ -221,7 +221,7 @@ function FacetFilterControls(props: FacetFilterControlsProps) { | |||
|
|||
return ( | |||
<div className={`FacetFilterControls`}> | |||
{combineRangeFacetConfig && ( | |||
{combineRangeFacetConfig && combinedRangeFacets.length >= 2 && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix bug where combinedRangeFacets
was defined but did not have enough elements, resulting in attempting to access properties on an undefined object
No description provided.