libraries are now filtered on id (there are duplicate names, such as "Bookmobile")
[Evergreen.git] / Open-ILS / src / reporter / tables.example.xml
index 5b13cd4..c72eff7 100644 (file)
@@ -48,6 +48,7 @@
                                <label>Create Date and Hour Joiner</label>
                                <description>Date and Hour of the copy's cataloging</description>
                        </field>
+<!--
                        <field
                          name="create_date"
                          datatype="timestamptz"
                                <description>Timestamp of the copy's cataloging</description>
                        </field>
                        <field
+                         name="edit_date"
+                         datatype="timestamptz"
+                         indexed="true"
+                         default="now()">
+                               <label>Edit Date</label>
+                               <description>Timestamp of the copy's last edit</description>
+                       </field>
+-->
+                       <field
                          name="edit_date_day"
                          datatype="date">
                                <label>Edit Date Joiner</label>
                                <description>Date and Hour of the copy's last edit</description>
                        </field>
                        <field
-                         name="edit_date"
-                         datatype="timestamptz"
-                         indexed="true"
-                         default="now()">
-                               <label>Edit Date</label>
-                               <description>Timestamp of the copy's last edit</description>
-                       </field>
-                       <field
                          name="item_lang"
                          datatype="text">
                                <label>Language</label>
                        <link
                          field="create_date_day"
                          table="generic_day_series"
+                         hidden="false"
                          id="copy_create_day"
                          key="date"
                          type="has_a"/>
                        <link
                          field="create_date_hour"
                          table="generic_hour_series"
+                         hidden="false"
                          id="copy_create_hour"
                          key="date_hour"
                          type="has_a"/>
                        <link
+                         field="edit_date_day"
+                         table="generic_day_series"
+                         hidden="false"
+                         id="copy_edit_day"
+                         key="date"
+                         type="has_a"/>
+                       <link
+                         field="edit_date_hour"
+                         table="generic_hour_series"
+                         hidden="false"
+                         id="copy_edit_hour"
+                         key="date_hour"
+                         type="has_a"/>
+                       <link
                          field="owning_lib"
                          table="org_unit"
+                         hidden="false"
                          id="copy_owning_lib"
                          key="id"
                          type="has_a"/>
                        <field
                          name="id"
                          primary="true"
+                         filterable='true'
+                         widget-family="lib-choose"
                          create-type="serial"
                          datatype="int">
-                               <label>ID</label>
-                               <description>Library ID</description>
+                               <label>Unique Library ID</label>
+                               <description>Unique Library ID</description>
                        </field>
                        <field
                          name="name"
-                         widget-family="lib-choose"
+                         widget-family="string-choose"
                          datatype="text">
                                <label>Name</label>
                                <description>Library Name</description>
                        <field
                          name="date"
                          primary='true'
-                         datatype="text">
-                               <label>Date joiner</label>
-                               <description>Date joiner</description>
-                       </field>
-                       <field
-                         name="date_label"
-                         datatype="date">
+                         filterable='true'
+                         datatype="timestamptz">
                                <label>Date</label>
                                <description>Date</description>
                        </field>
                        <field
                          name="date_hour"
                          primary='true'
-                         datatype="text">
-                               <label>time joiner</label>
-                               <description>time joiner</description>
-                       </field>
-                       <field
-                         name="date_hour_label"
+                         filterable='true'
                          datatype="timestamptz">
                                <label>Date and Hour</label>
                                <description>Date and Hour</description>