f6af1bea59
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
211 lines
6.6 KiB
Cheetah
211 lines
6.6 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Administration › MARC Check
|
|
<!-- TMPL_IF name="total" --> :<!-- TMPL_VAR name="total" --> errors found<!-- TMPL_ELSE --> : Configuration OK!<!-- /TMPL_IF --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
|
|
|
|
<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
|
|
<!-- TMPL_IF name="total" -->: <!-- TMPL_VAR name="total" --> errors found<!-- TMPL_ELSE --> : Configuration OK!<!-- /TMPL_IF --></div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1>MARC Bibliographic Framework Test</h1>
|
|
<table>
|
|
<tr>
|
|
<th>Test</th>
|
|
<th>Result</th>
|
|
</tr>
|
|
<!-- -->
|
|
<!-- TMPL_IF name="itemnum" -->
|
|
<tr>
|
|
<td>itemnum</td>
|
|
<td><ul><li>The field itemnum MUST be mapped </li>
|
|
<li>The correspounding subfield MUST be in with -1 (ignore) tab</li></ul></td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>itemnum : the field itemnumber is mapped to a field in tab -1</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="itemfields" -->
|
|
<tr>
|
|
<td>item fields</td>
|
|
<td>ALL items fields MUST :<br />
|
|
<ul><li>be mapped to the same tag,</li>
|
|
<li>and they must all be in the 10 (items) tab</li></ul></td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>All item fields are in the same tag and in item tab</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF NAME="itemtags" -->
|
|
<tr>
|
|
<td>Item tag</td>
|
|
<td>There is more than 1 MARC tag related to items tab (10) : <!-- TMPL_VAR name="itemtags" --></td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>Only 1 MARC tag mapped to items</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="itemtype" -->
|
|
<tr>
|
|
<td>itemtype NOT mapped</td>
|
|
<td>the biblioitems.itemtype field MUST :<br />
|
|
<ul><li>be mapped to a MARC subfield, </li>
|
|
<li>the correspounding subfield MUST have authorised_value=itemtype</li></ul></td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>biblioitems.itemtype defined</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="branch" -->
|
|
<tr>
|
|
<td>homebranch NOT mapped</td>
|
|
<td>the items.homebranch field MUST :<br />
|
|
<ul><li>be mapped to a MARC subfield,</li>
|
|
<li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>homebranch defined</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="holdingbranch" -->
|
|
<tr>
|
|
<td>holdingbranch NOT mapped</td>
|
|
<td>the items.holdingbranch field MUST :<br />
|
|
<ul><li>be mapped to a MARC subfield, </li>
|
|
<li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>holdingbranch defined</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="itemtypes_empty" -->
|
|
<tr>
|
|
<td>item type not defined</td>
|
|
<td>at least 1 item type must be defined</td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>at least 1 item type defined</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="branches_empty" -->
|
|
<tr>
|
|
<td>branch not defined</td>
|
|
<td>at least 1 branch must be defined</td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>at least 1 branch defined</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- -->
|
|
<!-- TMPL_IF name="biblionumber" -->
|
|
<tr>
|
|
<td>biblio and biblionumber</td>
|
|
<td>The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,</td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>biblionumber and biblioitemnumber mapped correctly</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="frameworknull" -->
|
|
<tr>
|
|
<td>framework values</td>
|
|
<td>there is a null value in a frameworkcode. Check the following tables<br />
|
|
<li>select * from marc_subfield_structure where frameworkcode is NULL</li>
|
|
<li>select * from marc_tag_structure where frameworkcode is NULL</li>
|
|
</td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>no NULL value in frameworkcode</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="inconsistent_tabs" -->
|
|
<tr>
|
|
<td style="vertical-align:top;">subfields not in same tabs</td>
|
|
<td>Not all subfields for the following tags are in the same tab (or marked 'ignored').
|
|
<table>
|
|
<tr>
|
|
<th>Code</th>
|
|
<th>Description</th>
|
|
<th>Tag</th>
|
|
<th>Tabs in use</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="tab_info" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR NAME="frameworkcode" --></td>
|
|
<!-- TMPL_IF NAME="frameworkcode" -->
|
|
<td><!-- TMPL_VAR NAME="frameworktext" --></td>
|
|
<!-- TMPL_ELSE -->
|
|
<td>Default framework</td>
|
|
<!-- /TMPL_IF -->
|
|
<td><!-- TMPL_VAR NAME="tagfield" --></td>
|
|
<td><!-- TMPL_VAR NAME="tabs" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<td>OK</td>
|
|
<td>all subfields for each tag are in the same tab (or ignored)</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- -->
|
|
<!-- TMPL_IF name="total" -->
|
|
<tr>
|
|
<td>TOTAL</td>
|
|
<td>You have <!-- TMPL_VAR name="total" --> error(s) in your MARC configuration. Please fix them before using Koha</td>
|
|
</tr>
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
</table>
|
|
<p><b>Configuration OK, you don't have errors in your MARC parameters table</b></p>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|