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 class="main container-fluid">
18 <div class="col-sm-10 col-sm-push-2">
21 <h1>MARC bibliographic framework test</h1>
31 <td><ul><li>The field itemnum MUST be mapped </li>
32 <li>The corresponding subfield MUST be in with -1 (ignore) tab</li></ul></td>
37 <td>itemnum : the field itemnumber is mapped to a field in tab -1</td>
41 [% IF ( itemfields ) %]
44 <td>ALL items fields MUST :<br />
45 <ul><li>be mapped to the same tag,</li>
46 <li>and they must all be in the 10 (items) tab</li></ul></td>
51 <td>All item fields are in the same tag and in item tab</td>
58 <td>There is more than 1 MARC tag related to items tab (10) : [% itemtags | html %]</td>
63 <td>Only 1 MARC tag mapped to items</td>
69 <td>itemtype NOT mapped</td>
70 <td>the biblioitems.itemtype field MUST :<br />
71 <ul><li>be mapped to a MARC subfield, </li>
72 <li>the corresponding subfield MUST have "Authorized value" set to "itemtype"</li></ul></td>
77 <td>biblioitems.itemtype defined</td>
83 <td>homebranch NOT mapped</td>
84 <td>the items.homebranch field MUST :<br />
85 <ul><li>be mapped to a MARC subfield,</li>
86 <li>the corresponding subfield MUST have "Authorized value" set to "branches"</li></ul></td>
91 <td>homebranch defined</td>
95 [% IF ( holdingbranch ) %]
97 <td>holdingbranch NOT mapped</td>
98 <td>the items.holdingbranch field MUST :<br />
99 <ul><li>be mapped to a MARC subfield, </li>
100 <li>the corresponding subfield MUST have "Authorized value" set to "branches"</li></ul></td>
105 <td>holdingbranch defined</td>
109 [% IF ( itemtypes_empty ) %]
111 <td>item type not defined</td>
112 <td>at least 1 item type must be defined</td>
117 <td>at least 1 item type defined</td>
121 [% IF ( branches_empty ) %]
123 <td>library not defined</td>
124 <td>at least 1 library must be defined</td>
129 <td>at least 1 library defined</td>
133 [% IF ( biblionumber ) %]
135 <td>biblio and biblionumber</td>
136 <td>The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,</td>
141 <td>biblionumber and biblioitemnumber mapped correctly</td>
145 [% IF ( frameworknull ) %]
147 <td>framework values</td>
148 <td>there is a null value in a frameworkcode. Check the following tables<br />
149 <li>select * from marc_subfield_structure where frameworkcode is NULL</li>
150 <li>select * from marc_tag_structure where frameworkcode is NULL</li>
156 <td>no NULL value in frameworkcode</td>
160 [% IF ( inconsistent_tabs ) %]
162 <td style="vertical-align:top;">subfields not in same tabs</td>
163 <td>Not all subfields for the following tags are in the same tab (or marked 'ignored').
171 [% FOREACH tab_inf IN tab_info %]
173 <td>[% tab_inf.frameworkcode | html %]</td>
174 [% IF ( tab_inf.frameworkcode ) %]
175 <td>[% tab_inf.frameworktext | html %]</td>
177 <td>Default framework</td>
179 <td>[% tab_inf.tagfield | html %]</td>
180 <td>[% tab_inf.tabs | html %]</td>
189 <td>all subfields for each tag are in the same tab (or ignored)</td>
193 [% IF ( invalid_authtypecodes ) %]
195 <td style="vertical-align:top;">invalid authority types</td>
196 <td>Not all authority types referred to by the frameworks are defined.
199 <th>Framework code</th>
200 <th>Framework description</th>
203 <th>Invalid authority type</th>
205 [% FOREACH authtypecode_inf IN authtypecode_info %]
207 <td>[% authtypecode_inf.frameworkcode | html %]</td>
208 [% IF ( authtypecode_inf.frameworkcode ) %]
209 <td>[% authtypecode_inf.frameworktext | html %]</td>
211 <td>Default framework</td>
213 <td>[% authtypecode_inf.tagfield | html %]</td>
214 <td>[% authtypecode_inf.tagsubfield | html %]</td>
215 <td>[% authtypecode_inf.authtypecode | html %]</td>
224 <td>all authority types used in the frameworks are defined</td>
228 [% IF ( permanent_location_mapped ) %]
230 <td style="vertical-align:top;">items.permanent_location mapped</td>
231 <td>The following mappings exist for items.permanent_location, and they shouldn't.
234 <th>Framework code</th>
235 <th>Framework description</th>
239 [% FOREACH mapped_perm_loc IN mapped_permanent_location %]
241 <td>[% mapped_perm_loc.frameworkcode | html %]</td>
242 [% IF ( mapped_perm_loc.frameworkcode ) %]
243 <td>[% mapped_perm_loc.frameworktext | html %]</td>
245 <td>Default framework</td>
247 <td>[% mapped_perm_loc.tagfield | html %]</td>
248 <td>[% mapped_perm_loc.tagsubfield | html %]</td>
257 <td>items.permanent_location is not mapped on the frameworks</td>
265 <td>You have [% total | html %] error(s) in your MARC configuration. Please fix them before using Koha</td>
270 <p><strong>Configuration OK, you don't have errors in your MARC parameters table</strong></p>
274 </div> <!-- /.col-sm-10.col-sm-push-2 -->
276 <div class="col-sm-2 col-sm-pull-10">
278 [% INCLUDE 'admin-menu.inc' %]
280 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
281 </div> <!-- /.row -->
283 [% MACRO jsinclude BLOCK %]
284 [% Asset.js("js/admin-menu.js") | $raw %]
286 [% INCLUDE 'intranet-bottom.inc' %]