Skip to content

Commit 4bc3464

Browse files
committed
Add default view
1 parent 2c24da7 commit 4bc3464

3 files changed

Lines changed: 38 additions & 2 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<customView xmlns="http://labkey.org/data/xml/queryCustomView" hidden="true">
2+
<columns>
3+
<column name="Id"/>
4+
<column name="gender"/>
5+
<column name="species"/>
6+
<column name="geographic_origin"/>
7+
<column name="calculated_status"/>
8+
<column name="birth"/>
9+
<column name="Id/age/yearAndDays">
10+
<properties>
11+
<property name="columnTitle" value="Age"/>
12+
</properties>
13+
</column>
14+
<column name="death"/>
15+
<column name="Id/MostRecentWeight/MostRecentWeight">
16+
<properties>
17+
<property name="columnTitle" value="Current Weight (kg)"/>
18+
</properties>
19+
</column>
20+
<column name="Id/parents/dam"/>
21+
<column name="Id/parents/damType"/>
22+
<column name="Id/parents/sire"/>
23+
<column name="Id/parents/sireType"/>
24+
<column name="Id/MostRecentWeight/MostRecentWeightDate">
25+
<properties>
26+
<property name="columnTitle" value="Weight Date"/>
27+
</properties>
28+
</column>
29+
<column name="history"/>
30+
</columns>
31+
<sorts>
32+
<sort column="Id" descending="false"/>
33+
</sorts>
34+
<!--<filters>-->
35+
<!--<filter column="qcstate/publicdata" operator="eq" value="true"/>-->
36+
<!--</filters>-->
37+
</customView>

PMR/resources/views/pmrAnimalHistory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
inputValue: LDK.panel.SingleSubjectFilterType.filterName,
1717
label:'Single Animal'
1818
},{
19-
xtype: 'onprc_ehr-multianimalfiltertype',
19+
xtype: 'ehr-multianimalfiltertype',
2020
inputValue: EHR.panel.MultiAnimalFilterType.filterName,
2121
label: EHR.panel.MultiAnimalFilterType.label
2222
},{

PMR/resources/views/pmrAnimalHistory.view.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
</permissions>
55
<dependencies>
66
<dependency path="ehr.context" />
7-
<dependency path="onprc_ehr/panel/MultiAnimalFilterType.js"/>
87
<dependency path="ehr/panel/AnimalHistoryPanel.js"/>
98
</dependencies>
109
</view>

0 commit comments

Comments
 (0)