-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket 49336: New Groups in Learn - fixes for navigation to the group…
… summary page, and Groups not displaying in Learn and the Study page. (#631) - Fix for groups not displaying on Learn pages. - Query update (studyCuratedGrpWithLabel.sql) to display Curated groups on Study pages, instead of having to update studyCuratedGroup table each time a new group is created, which is going to have different group id on staging and production and client would have to update tables on both staging and prod and run an ETL for the data to get populated - this query update eliminates all these steps. - Get the label from the clicked item and find the corresponding record based on the label instead of using Ext's auto mechanism of using store index. - Update 'Edit group' to 'Save as'
- Loading branch information
1 parent
44807bd
commit 7b814be
Showing
7 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
SELECT | ||
sg.Label as label, | ||
scg.cds_saved_group_id, | ||
scg.prot | ||
FROM cds.studyCuratedGroup scg | ||
LEFT JOIN study.SubjectGroup sg | ||
ON scg.cds_saved_group_id = sg.RowId | ||
LEFT JOIN study.SubjectCategory sc | ||
ON sc.RowId = sg.categoryId | ||
SELECT DISTINCT sgm.groupId.rowid AS cds_saved_group_id, | ||
sgm.GroupId.label, | ||
sgm.container.name AS prot -- each study protocol has a container of the same name as the study protocol | ||
FROM study.subjectgroupmap sgm | ||
LEFT JOIN study.subjectcategory sc ON sgm.groupId.CategoryId.RowId = sc.RowId | ||
WHERE sc.ownerId = -1 --filter to only show curated/shared groups |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters