1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Tools › Manage Staged MARC Records
3 <!-- TMPL_IF name="import_batch_id" -->
4 › Batch <!-- TMPL_VAR name="import_batch_id" -->
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 <!-- TMPL_INCLUDE NAME="background-job.inc" -->
11 <!-- TMPL_INCLUDE NAME="header.inc" -->
12 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
14 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
15 <!-- TMPL_IF name="import_batch_id" -->
17 <a href="<!-- TMPL_VAR name="script_name"-->">Manage Staged MARC Records</a>
18 › Batch <!-- TMPL_VAR name="import_batch_id" -->
20 › Manage Staged MARC Records
24 <div id="doc3" class="yui-t2">
30 <h1>Manage Staged MARC Records
31 <!-- TMPL_IF name="import_batch_id" -->
32 › Batch <!-- TMPL_VAR name="import_batch_id" -->
35 <!-- TMPL_IF name="label_batch" -->
37 <p>Label batch created, with id: <!-- TMPL_VAR name="label_batch" --> </p>
40 <!-- TMPL_IF name="batch_info" -->
41 <p><label>File name</label> <!-- TMPL_VAR name="file_name" --></p>
42 <p><label>Comments</label> <!-- TMPL_VAR name="comments" --></p>
43 <p><label>Staged</label> <!-- TMPL_VAR name="upload_timestamp" --></p>
44 <p><label>Status</label> <!-- TMPL_VAR name="import_status" --></p>
45 <p><label>Matching rule applied</label>
46 <!-- TMPL_IF name="current_matcher_id" -->
47 <!-- TMPL_VAR name="current_matcher_code" --> (<!-- TMPL_VAR name="current_matcher_description" -->)
49 No matching rule in effect
52 <!-- TMPL_IF name="can_commit" -->
54 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
55 <input type="hidden" name="op" value="redo-matching" />
56 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
57 <input type="hidden" name="current_matcher_id" value="<!-- TMPL_VAR name="current_matcher_id" -->" />
58 <select name="new_matcher_id" id="new_matcher_id">
59 <option value="">Do not look for matching records</option>
60 <!-- TMPL_LOOP name="available_matchers" -->
61 <!-- TMPL_IF name="selected" -->
62 <option value="<!-- TMPL_VAR name="matcher_id" -->" selected="selected">
63 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
66 <option value="<!-- TMPL_VAR name="matcher_id" -->">
67 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
72 <input type="submit" class="button" value="Apply different matching rule" />
77 <!-- TMPL_IF name="can_commit" -->
78 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
79 <input type="hidden" name="op" value="commit-batch" />
80 <input type="hidden" name="runinbackground" value="" />
81 <input type="hidden" name="completedJobID" value="" />
82 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
83 <input type="submit" class="button" name="mainformsubmit" value="Complete import" onclick="return submitBackgroundJob(this.form);" />
85 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
86 <div id="jobfailed" style="display:none"></div>
88 <!-- TMPL_IF name="can_revert" -->
89 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
90 <input type="hidden" name="op" value="revert-batch" />
91 <input type="hidden" name="runinbackground" value="" />
92 <input type="hidden" name="completedJobID" value="" />
93 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
94 <input type="submit" class="button" name="mainformsubmit" value="Undo import" onclick="return submitBackgroundJob(this.form);" />
96 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
97 <div id="jobfailed" style="display:none"></div>
100 <!-- TMPL_IF name="did_commit" -->
101 <p><span class="problem">Completed import of records</span></p>
103 <tr><td>Number of records added</td><td><!-- TMPL_VAR name="num_added" --></td></tr>
104 <tr><td>Number of records updated</td><td><!-- TMPL_VAR name="num_updated" --></td></tr>
105 <tr><td>Number of items added</td><td><!-- TMPL_VAR name="num_items_added" --></td></tr>
106 <tr><td>Number of items ignored because of duplicate barcode</td><td><!-- TMPL_VAR name="num_items_errored" --></td></tr>
107 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
110 <!-- TMPL_IF name="did_revert" -->
111 <p><span class="problem">Undid import of records</span></p>
113 <tr><td>Number of records deleted</td><td><!-- TMPL_VAR name="num_deleted" --></td></tr>
114 <tr><td>Number of items deleted</td><td><!-- TMPL_VAR name="num_items_deleted" --></td></tr>
115 <tr><td>Number of records not deleted due to items on loan</td><td><!-- TMPL_VAR name="num_errors" --></td></tr>
116 <tr><td>Number of records changed back</td><td><!-- TMPL_VAR name="num_reverted" --></td></tr>
117 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
120 <!-- TMPL_IF name="rematch_attempted" -->
121 <!-- TMPL_IF name="rematch_failed" -->
122 <p><span class="problem">Failed to apply different matching rule</span></p>
124 <p><span class="problem">Applied different matching rule. Number of records matched now
125 <!-- TMPL_VAR name="num_with_matches" -->
132 <!-- TMPL_IF name="batch_list" -->
133 <!-- TMPL_IF name="pages" -->
136 <!-- TMPL_LOOP name="pages" -->
137 <!-- TMPL_IF name="current_page" -->
138 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
140 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
155 <!-- TMPL_LOOP name="batch_list" -->
157 <td><a href="<!-- TMPL_VAR name="script_name" -->?import_batch_id=<!-- TMPL_VAR name="import_batch_id" -->"><!-- TMPL_VAR name="import_batch_id" --></a></td>
158 <td><!-- TMPL_VAR name="file_name" --></td>
159 <td><!-- TMPL_VAR name="comments" --></td>
160 <td><!-- TMPL_VAR name="import_status" --></td>
161 <td><!-- TMPL_VAR name="upload_timestamp" --></td>
162 <td><!-- TMPL_VAR name="num_biblios" --></td>
163 <td><!-- TMPL_VAR name="num_items" --><!-- TMPL_IF NAME="num_items" --><a href="<!-- TMPL_VAR name="script_name" -->?import_batch_id=<!-- TMPL_VAR name="import_batch_id" -->&op=create_labels">(Create Label Batch)</a><!-- /TMPL_IF --></td>
167 <!-- TMPL_IF name="pages" -->
170 <!-- TMPL_LOOP name="pages" -->
171 <!-- TMPL_IF name="current_page" -->
172 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
174 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
181 <!-- TMPL_IF name="biblio_list" -->
182 <!-- TMPL_IF name="pages" -->
185 <!-- TMPL_LOOP name="pages" -->
186 <!-- TMPL_IF name="current_page" -->
187 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
189 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?import_batch_id=<!-- TMPL_VAR name="import_batch_id" -->&offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
201 <!-- TMPL_LOOP name="biblio_list" -->
203 <td><!-- TMPL_VAR name="record_sequence"--></td>
204 <td><!-- TMPL_VAR name="citation"--></td>
205 <td><!-- TMPL_VAR name="status"--></td>
206 <td><!-- TMPL_VAR name="overlay_status"--></td>
208 <!-- TMPL_IF name="match_biblionumber" -->
211 <td class="highlight" colspan="3">Matches biblio <!-- TMPL_VAR name="match_biblionumber" --> (score = <!-- TMPL_VAR name="match_score" -->): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="match_biblionumber" -->"><!-- TMPL_VAR name="match_citation" --></a></td>
216 <!-- TMPL_IF name="pages" -->
219 <!-- TMPL_LOOP name="pages" -->
220 <!-- TMPL_IF name="current_page" -->
221 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
223 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?import_batch_id=<!-- TMPL_VAR name="import_batch_id" -->&offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
232 <div class="yui-b noprint">
233 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
236 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->