4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha › Administration › MARC check
6 [% IF ( total ) %] :[% total | html %] errors found[% ELSE %] : Configuration OK![% END %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="admin_checkmarc" class="admin">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'prefs-admin-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › MARC check
14 [% IF ( total ) %]: [% total | html %] errors found[% ELSE %] : Configuration OK![% END %]</div>
16 <div id="doc3" class="yui-t2">
22 <h1>MARC bibliographic framework test</h1>
32 <td><ul><li>The field itemnum MUST be mapped </li>
33 <li>The corresponding subfield MUST be in with -1 (ignore) tab</li></ul></td>
38 <td>itemnum : the field itemnumber is mapped to a field in tab -1</td>
42 [% IF ( itemfields ) %]
45 <td>ALL items fields MUST :<br />
46 <ul><li>be mapped to the same tag,</li>
47 <li>and they must all be in the 10 (items) tab</li></ul></td>
52 <td>All item fields are in the same tag and in item tab</td>
59 <td>There is more than 1 MARC tag related to items tab (10) : [% itemtags | html %]</td>
64 <td>Only 1 MARC tag mapped to items</td>
70 <td>itemtype NOT mapped</td>
71 <td>the biblioitems.itemtype field MUST :<br />
72 <ul><li>be mapped to a MARC subfield, </li>
73 <li>the corresponding subfield MUST have "Authorized value" set to "itemtype"</li></ul></td>
78 <td>biblioitems.itemtype defined</td>
84 <td>homebranch NOT mapped</td>
85 <td>the items.homebranch field MUST :<br />
86 <ul><li>be mapped to a MARC subfield,</li>
87 <li>the corresponding subfield MUST have "Authorized value" set to "branches"</li></ul></td>
92 <td>homebranch defined</td>
96 [% IF ( holdingbranch ) %]
98 <td>holdingbranch NOT mapped</td>
99 <td>the items.holdingbranch field MUST :<br />
100 <ul><li>be mapped to a MARC subfield, </li>
101 <li>the corresponding subfield MUST have "Authorized value" set to "branches"</li></ul></td>
106 <td>holdingbranch defined</td>
110 [% IF ( itemtypes_empty ) %]
112 <td>item type not defined</td>
113 <td>at least 1 item type must be defined</td>
118 <td>at least 1 item type defined</td>
122 [% IF ( branches_empty ) %]
124 <td>library not defined</td>
125 <td>at least 1 library must be defined</td>
130 <td>at least 1 library defined</td>
134 [% IF ( biblionumber ) %]
136 <td>biblio and biblionumber</td>
137 <td>The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,</td>
142 <td>biblionumber and biblioitemnumber mapped correctly</td>
146 [% IF ( frameworknull ) %]
148 <td>framework values</td>
149 <td>there is a null value in a frameworkcode. Check the following tables<br />
150 <li>select * from marc_subfield_structure where frameworkcode is NULL</li>
151 <li>select * from marc_tag_structure where frameworkcode is NULL</li>
157 <td>no NULL value in frameworkcode</td>
161 [% IF ( inconsistent_tabs ) %]
163 <td style="vertical-align:top;">subfields not in same tabs</td>
164 <td>Not all subfields for the following tags are in the same tab (or marked 'ignored').
172 [% FOREACH tab_inf IN tab_info %]
174 <td>[% tab_inf.frameworkcode | html %]</td>
175 [% IF ( tab_inf.frameworkcode ) %]
176 <td>[% tab_inf.frameworktext | html %]</td>
178 <td>Default framework</td>
180 <td>[% tab_inf.tagfield | html %]</td>
181 <td>[% tab_inf.tabs | html %]</td>
190 <td>all subfields for each tag are in the same tab (or ignored)</td>
194 [% IF ( invalid_authtypecodes ) %]
196 <td style="vertical-align:top;">invalid authority types</td>
197 <td>Not all authority types referred to by the frameworks are defined.
200 <th>Framework code</th>
201 <th>Framework description</th>
204 <th>Invalid authority type</th>
206 [% FOREACH authtypecode_inf IN authtypecode_info %]
208 <td>[% authtypecode_inf.frameworkcode | html %]</td>
209 [% IF ( authtypecode_inf.frameworkcode ) %]
210 <td>[% authtypecode_inf.frameworktext | html %]</td>
212 <td>Default framework</td>
214 <td>[% authtypecode_inf.tagfield | html %]</td>
215 <td>[% authtypecode_inf.tagsubfield | html %]</td>
216 <td>[% authtypecode_inf.authtypecode | html %]</td>
225 <td>all authority types used in the frameworks are defined</td>
229 [% IF ( permanent_location_mapped ) %]
231 <td style="vertical-align:top;">items.permanent_location mapped</td>
232 <td>The following mappings exist for items.permanent_location, and they shouldn't.
235 <th>Framework code</th>
236 <th>Framework description</th>
240 [% FOREACH mapped_perm_loc IN mapped_permanent_location %]
242 <td>[% mapped_perm_loc.frameworkcode | html %]</td>
243 [% IF ( mapped_perm_loc.frameworkcode ) %]
244 <td>[% mapped_perm_loc.frameworktext | html %]</td>
246 <td>Default framework</td>
248 <td>[% mapped_perm_loc.tagfield | html %]</td>
249 <td>[% mapped_perm_loc.tagsubfield | html %]</td>
258 <td>items.permanent_location is not mapped on the frameworks</td>
266 <td>You have [% total | html %] error(s) in your MARC configuration. Please fix them before using Koha</td>
271 <p><b>Configuration OK, you don't have errors in your MARC parameters table</b></p>
279 [% INCLUDE 'admin-menu.inc' %]
283 [% MACRO jsinclude BLOCK %]
284 [% Asset.js("js/admin-menu.js") | $raw %]
286 [% INCLUDE 'intranet-bottom.inc' %]