Merge pull request #10272 from eileenmcnaughton/search_contacts
[civicrm-core.git] / CRM / Case / Audit / audit.conf.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 includeRule can be "include" or "exclude".
4 include means include the fields listed in the region.
5 exclude means include all fields not listed in the region AND not listed in the exclusionCorrespondingRegion.
6
7 includeTime is true or false and says whether to include the time component of date fields.
8 It can be overridden at the Field level.
9
10 ifBlank specifies an alternate field to display if the field is blank.
11 -->
12
13 <regions>
14 <region name="leftpane" includeRule="include" includeTime="false">
15 <fields>
16 <field ifBlank="Due Date">Actual Date</field>
17 <field ifBlank="Activity Type">Subject</field>
18 </fields>
19 </region>
20
21 <region name="rightpaneheader" includeRule="include" includeTime="true">
22 <fields>
23 <field>Activity Type</field>
24 <field>Subject</field>
25 <field>Actual Date</field>
26 <field>Created By</field>
27 <field>Revision</field>
28 </fields>
29 </region>
30
31 <!-- The rightpane body then gets "everything that isn't in the header", EXCEPT
32 the fields you specify here. This seems a good compromise
33 over explicitly having to define which fields we want for each activity type,
34 given that they are custom.
35
36 One future tweak is to improve the way the fields get ordered here. Right now
37 they'll just come out the same order as in the export, which will likely be semi-random.
38 -->
39 <region name="rightpanebody" includeRule="exclude" exclusionCorrespondingRegion="rightpaneheader" includeTime="true">
40 <fields>
41 <field>Some field nobody likes</field>
42 </fields>
43 </region>
44
45 <!-- Haven't decided if this one belongs in here. Probably belongs in yet another config file.
46 This tells us which field has the semantic meaning of "status", and which value indicates "completed".
47 -->
48 <completionStatus>
49 <label>Status</label>
50 <value>Completed</value>
51 </completionStatus>
52 <!-- Similarly this probably doesn't belong in here. This tells what field(s) to sort by.
53 -->
54 <sortByLabels>
55 <label>Actual Date</label> <!-- Sort by this first -->
56 <label>Due Date</label> <!-- Then if equal sort by this -->
57 <label>Date and Time</label>
58 </sortByLabels>
59
60 </regions>