a791eeac5a39726ebd63ecb0cba656b7e7fbe17a
[koha_gimpoz] / koha-tmpl / intranet-tmpl / prog / en / parameters / checkmarc.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: MARC Check: 
2 <!-- TMPL_IF name="total" --><!-- TMPL_VAR name="total" --> errors found<!-- TMPL_ELSE -->Configuration OK!<!-- /TMPL_IF -->
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <h1>MARC Checks</h1>
6 <table>
7         <tr>
8                 <th>Test</th>
9                 <th>Result</th>
10         </tr>
11 <!-- -->
12 <!-- TMPL_IF name="itemnum" -->
13         <tr>
14                 <td>itemnum</td>
15                 <td><ul><li>The field itemnum MUST be mapped </li>
16                         <li>The correspounding subfield MUST be in with -1 (ignore) tab</li></ul></td>
17         </tr>
18 <!-- TMPL_ELSE -->
19         <tr>
20                 <td>OK</td>
21                 <td>itemnum : the field itemnumber is mapped to a field in tab -1</td>
22         </tr>
23 <!-- /TMPL_IF -->
24 <!-- -->
25 <!-- TMPL_IF name="itemfields" -->
26         <tr>
27                 <td>item fields</td>
28                 <td>ALL items fields MUST :<br />
29                         <ul><li>be mapped to the same tag,</li>
30                         <li>and they must all be in the 10 (items) tab</li></ul></td>
31         </tr>
32 <!-- TMPL_ELSE -->
33         <tr>
34                 <td>OK</td>
35                 <td>All item fields are in the same tag and in item tab</td>
36         </tr>
37 <!-- /TMPL_IF -->
38 <!-- -->
39         <!-- TMPL_IF NAME="itemtags" -->
40                 <tr>
41                         <td>Item tag</td>
42                         <td>There is more than 1 MARC tag related to items tab (10) : <!-- TMPL_VAR name="itemtags" --></td>
43                 </tr>
44         <!-- TMPL_ELSE -->
45                 <tr>
46                         <td>OK</td>
47                         <td><i>Only 1 MARC tag mapped to items</i></td>
48                 </tr>
49         <!-- /TMPL_IF -->
50         <!--  -->
51 <!-- TMPL_IF name="itemtype" -->
52         <tr>
53                 <td>itemtype NOT mapped</td>
54                 <td>the biblioitems.itemtype field MUST :<br />
55                         <ul><li>be mapped to a MARC subfield, </li>
56                         <li>the correspounding subfield MUST have authorised_value=itemtype</li></ul></td>
57         </tr>
58 <!-- TMPL_ELSE -->
59         <tr>
60                 <td>OK</td>
61                 <td>biblioitems.itemtype defined</td>
62         </tr>
63 <!-- /TMPL_IF -->
64 <!-- -->
65 <!-- TMPL_IF name="branch" -->
66         <tr>
67                 <td>homebranch NOT mapped</td>
68                 <td>the items.homebranch field MUST :<br />
69                         <ul><li>be mapped to a MARC subfield,</li>
70                         <li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
71         </tr>
72 <!-- TMPL_ELSE -->
73         <tr>
74                 <td>OK</td>
75                 <td>homebranch defined</td>
76         </tr>
77 <!-- /TMPL_IF -->
78 <!-- -->
79 <!-- TMPL_IF name="holdingbranch" -->
80         <tr>
81                 <td>holdingbranch NOT mapped</td>
82                 <td>the items.holdingbranch field MUST :<br />
83                         <ul><li>be mapped to a MARC subfield, </li>
84                         <li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
85         </tr>
86 <!-- TMPL_ELSE -->
87         <tr>
88                 <td>OK</td>
89                 <td>holdingbranch defined</td>
90         </tr>
91 <!-- /TMPL_IF -->
92 <!-- -->
93 <!-- TMPL_IF name="biblionumber" -->
94         <tr>
95                 <td>biblio and biblionumber</td>
96                 <td>The biblio.biblionumber and biblioitems.biblioitemnumber fields MUST :
97                         <ul><li>be mapped to a MARC subfield,</li>
98                         <li>be in the SAME tag (for example : 090$a and 090$b)</li>
99                         <li>be in tab -1</li></ul></td>
100         </tr>
101 <!-- TMPL_ELSE -->
102         <tr>
103                 <td>OK</td>
104                 <td>biblionumber and biblioitemnumber mapped correctly</td>
105         </tr>
106 <!-- /TMPL_IF -->
107
108         <!-- TMPL_IF NAME="frameworknull" -->
109                 <tr>
110                         <td>framework values</td>
111                         <td>there is a null value in a frameworkcode. Check the following tables<br/>
112                                 <li>select * from marc_subfield_structure where frameworkcode is NULL</li>
113                                 <li>select * from marc_tag_structure where frameworkcode is NULL</li>
114                                 <li>select * from marc_biblio where frameworkcode is NULL</li></td>
115                 </tr>
116         <!-- TMPL_ELSE -->
117                 <tr>
118                         <td>OK</td>
119                         <td><i>no NULL value in frameworkcode</i></td>
120                 </tr>
121         <!-- /TMPL_IF -->
122
123 <!-- -->
124 <!-- TMPL_IF name="total" -->
125         <tr>
126                 <td>TOTAL</td>
127                 <td>You have <!-- TMPL_VAR name="total" --> error(s) in your MARC configuration. Please fix them before using Koha</td>
128         </tr>
129 </table>
130 <!-- TMPL_ELSE -->
131         </table>
132                 <p>Configuration OK, you don't have errors in your MARC parameters table</p>
133 <!-- /TMPL_IF -->
134
135
136
137 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->