4 [% INCLUDE 'doc-head-open.inc' %]
6 [% IF ( total ) %] :[% total | html %] errors found[% ELSE %] : Configuration OK![% END %] › Administration › Koha</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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
22 <a href="#" aria-current="page">
25 : [% total | html %] errors found
34 <div class="main container-fluid">
36 <div class="col-sm-10 col-sm-push-2">
39 <h1>MARC bibliographic framework test</h1>
49 <td><ul><li>The field itemnum MUST be mapped </li>
50 <li>The corresponding subfield MUST be in with -1 (ignore) tab</li></ul></td>
55 <td>itemnum : the field itemnumber is mapped to a field in tab -1</td>
59 [% IF ( itemfields ) %]
62 <td>ALL items fields MUST :<br />
63 <ul><li>be mapped to the same tag,</li>
64 <li>and they must all be in the 10 (items) tab</li></ul></td>
69 <td>All item fields are in the same tag and in item tab</td>
76 <td>There is more than 1 MARC tag related to items tab (10) : [% itemtags | html %]</td>
81 <td>Only 1 MARC tag mapped to items</td>
87 <td>itemtype NOT mapped</td>
88 <td>the biblioitems.itemtype field MUST :<br />
89 <ul><li>be mapped to a MARC subfield, </li>
90 <li>the corresponding subfield MUST have "Authorized value" set to "itemtype"</li></ul></td>
95 <td>biblioitems.itemtype defined</td>
101 <td>homebranch NOT mapped</td>
102 <td>the items.homebranch field MUST :<br />
103 <ul><li>be mapped to a MARC subfield,</li>
104 <li>the corresponding subfield MUST have "Authorized value" set to "branches"</li></ul></td>
109 <td>homebranch defined</td>
113 [% IF ( holdingbranch ) %]
115 <td>holdingbranch NOT mapped</td>
116 <td>the items.holdingbranch field MUST :<br />
117 <ul><li>be mapped to a MARC subfield, </li>
118 <li>the corresponding subfield MUST have "Authorized value" set to "branches"</li></ul></td>
123 <td>holdingbranch defined</td>
127 [% IF ( itemtypes_empty ) %]
129 <td>item type not defined</td>
130 <td>at least 1 item type must be defined</td>
135 <td>at least 1 item type defined</td>
139 [% IF ( branches_empty ) %]
141 <td>library not defined</td>
142 <td>at least 1 library must be defined</td>
147 <td>at least 1 library defined</td>
151 [% IF ( biblionumber ) %]
153 <td>biblio and biblionumber</td>
154 <td>The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,</td>
159 <td>biblionumber and biblioitemnumber mapped correctly</td>
163 [% IF ( frameworknull ) %]
165 <td>framework values</td>
166 <td>there is a null value in a frameworkcode. Check the following tables<br />
167 <li>select * from marc_subfield_structure where frameworkcode is NULL</li>
168 <li>select * from marc_tag_structure where frameworkcode is NULL</li>
174 <td>no NULL value in frameworkcode</td>
178 [% IF ( inconsistent_tabs ) %]
180 <td style="vertical-align:top;">subfields not in same tabs</td>
181 <td>Not all subfields for the following tags are in the same tab (or marked 'ignored').
189 [% FOREACH tab_inf IN tab_info %]
191 <td>[% tab_inf.frameworkcode | html %]</td>
192 [% IF ( tab_inf.frameworkcode ) %]
193 <td>[% tab_inf.frameworktext | html %]</td>
195 <td>Default framework</td>
197 <td>[% tab_inf.tagfield | html %]</td>
198 <td>[% tab_inf.tabs | html %]</td>
207 <td>all subfields for each tag are in the same tab (or ignored)</td>
211 [% IF ( invalid_authtypecodes ) %]
213 <td style="vertical-align:top;">invalid authority types</td>
214 <td>Not all authority types referred to by the frameworks are defined.
217 <th>Framework code</th>
218 <th>Framework description</th>
221 <th>Invalid authority type</th>
223 [% FOREACH authtypecode_inf IN authtypecode_info %]
225 <td>[% authtypecode_inf.frameworkcode | html %]</td>
226 [% IF ( authtypecode_inf.frameworkcode ) %]
227 <td>[% authtypecode_inf.frameworktext | html %]</td>
229 <td>Default framework</td>
231 <td>[% authtypecode_inf.tagfield | html %]</td>
232 <td>[% authtypecode_inf.tagsubfield | html %]</td>
233 <td>[% authtypecode_inf.authtypecode | html %]</td>
242 <td>all authority types used in the frameworks are defined</td>
246 [% IF ( permanent_location_mapped ) %]
248 <td style="vertical-align:top;">items.permanent_location mapped</td>
249 <td>The following mappings exist for items.permanent_location, and they shouldn't.
252 <th>Framework code</th>
253 <th>Framework description</th>
257 [% FOREACH mapped_perm_loc IN mapped_permanent_location %]
259 <td>[% mapped_perm_loc.frameworkcode | html %]</td>
260 [% IF ( mapped_perm_loc.frameworkcode ) %]
261 <td>[% mapped_perm_loc.frameworktext | html %]</td>
263 <td>Default framework</td>
265 <td>[% mapped_perm_loc.tagfield | html %]</td>
266 <td>[% mapped_perm_loc.tagsubfield | html %]</td>
275 <td>items.permanent_location is not mapped on the frameworks</td>
283 <td>You have [% total | html %] error(s) in your MARC configuration. Please fix them before using Koha</td>
288 <p><strong>Configuration OK, you don't have errors in your MARC parameters table</strong></p>
292 </div> <!-- /.col-sm-10.col-sm-push-2 -->
294 <div class="col-sm-2 col-sm-pull-10">
296 [% INCLUDE 'admin-menu.inc' %]
298 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
299 </div> <!-- /.row -->
301 [% MACRO jsinclude BLOCK %]
302 [% Asset.js("js/admin-menu.js") | $raw %]
304 [% INCLUDE 'intranet-bottom.inc' %]