-
Notifications
You must be signed in to change notification settings - Fork 0
Add modified to task views #620
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
Merged
labkey-martyp
merged 1 commit into
release25.7-SNAPSHOT
from
25.7_fb_tasks_modified_view
Oct 30, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| <query xmlns="http://labkey.org/data/xml/query"> | ||
| <metadata> | ||
| <tables xmlns="http://labkey.org/data/xml"> | ||
| <table tableName="my_tasks" tableDbType="TABLE"> | ||
| <javaCustomizer class="org.labkey.ehr.table.DefaultEHRCustomizer" /> | ||
| <insertUrl /> | ||
| <updateUrl /> | ||
| <titleColumn>RowId</titleColumn> | ||
| <columns> | ||
| <column columnName="rowid"> | ||
| <columnTitle>Task Id</columnTitle> | ||
| <isAutoInc>true</isAutoInc> | ||
| <nullable>true</nullable> | ||
| </column> | ||
| <column columnName="formtype"> | ||
| <columnTitle>Task Type</columnTitle> | ||
| </column> | ||
| <column columnName="assignedto"> | ||
| <columnTitle>Assigned To</columnTitle> | ||
| <nullable>true</nullable> | ||
| <fk> | ||
| <fkDbSchema>core</fkDbSchema> | ||
| <fkTable>PrincipalsWithoutAdmin</fkTable> | ||
| <fkColumnName>userid</fkColumnName> | ||
| </fk> | ||
| </column> | ||
| <column columnName="duedate"> | ||
| <columnTitle>Due Date</columnTitle> | ||
| <nullable>true</nullable> | ||
| <formatString>DateTime</formatString> | ||
| </column> | ||
| <column columnName="createdby"> | ||
| <columnTitle>Created By</columnTitle> | ||
| </column> | ||
| <column columnName="created"> | ||
| <columnTitle>Created</columnTitle> | ||
| </column> | ||
| <column columnName="modifiedby"> | ||
| <columnTitle>Modified By</columnTitle> | ||
| </column> | ||
| <column columnName="modified"> | ||
| <columnTitle>Modified</columnTitle> | ||
| </column> | ||
| </columns> | ||
| <buttonBarOptions includeStandardButtons="false"> | ||
| <includeScript>ehr.context</includeScript> | ||
| <includeScript>/ehr/studyButtons.js</includeScript> | ||
| <item text="Grid Views"> | ||
| <originalText>Grid Views</originalText> | ||
| </item> | ||
| <item text="Charts"> | ||
| <originalText>Charts</originalText> | ||
| </item> | ||
| <item text="Export"> | ||
| <originalText>Export</originalText> | ||
| </item> | ||
| <item text="Print"> | ||
| <originalText>Print</originalText> | ||
| </item> | ||
| </buttonBarOptions> | ||
| </table> | ||
| </tables> | ||
| </metadata> | ||
| </query> |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /* | ||
| * Copyright (c) 2011-2019 LabKey Corporation | ||
| * | ||
| * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 | ||
| */ | ||
| SELECT | ||
|
|
||
| taskid, | ||
| rowid, | ||
| updateTitle, | ||
| category, | ||
| title, | ||
| formtype, | ||
| qcstate, | ||
| assignedto, | ||
| duedate, | ||
| requestid, | ||
| datecompleted, | ||
| modifiedby, | ||
| modified, | ||
| createdby, | ||
| created, | ||
| description | ||
|
|
||
|
|
||
| FROM ehr.tasks t | ||
|
|
||
| WHERE ISMEMBEROF(t.assignedto) | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <customView xmlns="http://labkey.org/data/xml/queryCustomView" label="All Tasks"> | ||
| <columns> | ||
| <column name="rowid"/> | ||
| <column name="updateTitle" /> | ||
| <column name="assignedto" /> | ||
| <column name="modifiedby"/> | ||
| <column name="modified"/> | ||
| <column name="createdby"/> | ||
| <column name="created"/> | ||
| <column name="qcstate"/> | ||
| </columns> | ||
| <sorts> | ||
| <sort column="modified" descending="true"/> | ||
| </sorts> | ||
| </customView> |
18 changes: 18 additions & 0 deletions
18
nirc_ehr/resources/queries/ehr/my_tasks/Active Tasks.qview.xml
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <customView xmlns="http://labkey.org/data/xml/queryCustomView"> | ||
| <columns> | ||
| <column name="rowid"/> | ||
| <column name="updateTitle" /> | ||
| <column name="assignedto" /> | ||
| <column name="modifiedby"/> | ||
| <column name="modified"/> | ||
| <column name="createdby"/> | ||
| <column name="created"/> | ||
| <column name="qcstate"/> | ||
| </columns> | ||
| <filters> | ||
| <filter column="qcstate/PublicData" operator="eq" value="false"/> | ||
| </filters> | ||
| <sorts> | ||
| <sort column="modified" descending="true"/> | ||
| </sorts> | ||
| </customView> |
18 changes: 18 additions & 0 deletions
18
nirc_ehr/resources/queries/ehr/my_tasks/Review Required.qview.xml
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <customView xmlns="http://labkey.org/data/xml/queryCustomView"> | ||
| <columns> | ||
| <column name="rowid"/> | ||
| <column name="updateTitle" /> | ||
| <column name="assignedto" /> | ||
| <column name="modifiedby"/> | ||
| <column name="modified"/> | ||
| <column name="createdby"/> | ||
| <column name="created"/> | ||
| <column name="qcstate"/> | ||
| </columns> | ||
| <filters> | ||
| <filter column="qcstate/Label" operator="eq" value="Review Required"/> | ||
| </filters> | ||
| <sorts> | ||
| <sort column="modified" descending="true"/> | ||
| </sorts> | ||
| </customView> |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <customView xmlns="http://labkey.org/data/xml/queryCustomView" label="All Tasks"> | ||
| <columns> | ||
| <column name="rowid"/> | ||
| <column name="updateTitle" /> | ||
| <column name="assignedto" /> | ||
| <column name="modifiedby"/> | ||
| <column name="modified"/> | ||
| <column name="createdby"/> | ||
| <column name="created"/> | ||
| <column name="qcstate"> | ||
| <properties> | ||
| <property name="columnTitle" value="Status"/> | ||
| </properties> | ||
| </column> | ||
| </columns> | ||
| <sorts> | ||
| <sort column="modified" descending="true"/> | ||
| </sorts> | ||
| </customView> |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <customView xmlns="http://labkey.org/data/xml/queryCustomView"> | ||
| <filters> | ||
| <filter column="qcstate/PublicData" operator="eq" value="false"/> | ||
| </filters> | ||
| <sorts> | ||
| <sort column="modified" descending="true"/> | ||
| </sorts> | ||
| </customView> |
22 changes: 22 additions & 0 deletions
22
nirc_ehr/resources/queries/ehr/tasks/Review Required.qview.xml
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <customView xmlns="http://labkey.org/data/xml/queryCustomView"> | ||
| <columns> | ||
| <column name="rowid"/> | ||
| <column name="updateTitle" /> | ||
| <column name="assignedto" /> | ||
| <column name="modifiedby"/> | ||
| <column name="modified"/> | ||
| <column name="createdby"/> | ||
| <column name="created"/> | ||
| <column name="qcstate"> | ||
| <properties> | ||
| <property name="columnTitle" value="Status"/> | ||
| </properties> | ||
| </column> | ||
| </columns> | ||
| <filters> | ||
| <filter column="qcstate/Label" operator="eq" value="Review Required"/> | ||
| </filters> | ||
| <sorts> | ||
| <sort column="modified" descending="true"/> | ||
| </sorts> | ||
| </customView> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.
fixed