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="greybox.inc" -->
8 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
9 <!-- TMPL_INCLUDE NAME="background-job.inc" -->
12 <!-- TMPL_INCLUDE NAME="header.inc" -->
13 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
15 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
16 <!-- TMPL_IF name="import_batch_id" -->
18 <a href="<!-- TMPL_VAR name="script_name"-->">Manage Staged MARC Records</a>
19 › Batch <!-- TMPL_VAR name="import_batch_id" -->
21 › Manage Staged MARC Records
25 <div id="doc3" class="yui-t2">
31 <h1>Manage Staged MARC Records
32 <!-- TMPL_IF name="import_batch_id" -->
33 › Batch <!-- TMPL_VAR name="import_batch_id" -->
36 <!-- TMPL_IF name="label_batch" -->
38 <p>Label batch created, with id: <!-- TMPL_VAR name="label_batch" --> </p>
42 <!-- TMPL_UNLESS name="batch_list" -->
43 <!-- TMPL_UNLESS name="batch_info" -->
44 <span class="problem">No records have been staged.</span>
45 <a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a>.
49 <!-- TMPL_IF name="batch_info" -->
50 <fieldset class="rows">
52 <li><label>File name</label> <!-- TMPL_VAR name="file_name" --></li>
53 <li><label>Comments</label> <!-- TMPL_VAR name="comments" --></li>
54 <li><label>Staged</label> <!-- TMPL_VAR name="upload_timestamp" --></li>
55 <li><label>Status</label> <!-- TMPL_VAR name="import_status" --></li>
56 <li><label>Matching rule applied</label>
57 <!-- TMPL_IF name="current_matcher_id" -->
58 <!-- TMPL_VAR name="current_matcher_code" --> (<!-- TMPL_VAR name="current_matcher_description" -->)
60 No matching rule in effect
63 <li><label>Action if matching record found</label> <!-- TMPL_VAR NAME="overlay_action" --></li>
64 <li><label>Action if no match found</label> <!-- TMPL_VAR NAME="nomatch_action" --></li>
65 <li><label>Item processing</label> <!-- TMPL_VAR NAME="item_action" --></li>
68 <!-- TMPL_IF name="can_commit" -->
70 <fieldset class="rows">
71 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
72 <input type="hidden" name="op" value="redo-matching" />
73 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
74 <input type="hidden" name="current_matcher_id" value="<!-- TMPL_VAR name="current_matcher_id" -->" />
76 <li><label for name="new_matcher_id">New matching rule</label>
77 <select name="new_matcher_id" id="new_matcher_id">
78 <option value="">Do not look for matching records</option>
79 <!-- TMPL_LOOP name="available_matchers" -->
80 <!-- TMPL_IF name="selected" -->
81 <option value="<!-- TMPL_VAR name="matcher_id" -->" selected="selected">
82 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
85 <option value="<!-- TMPL_VAR name="matcher_id" -->">
86 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
92 <li><label for="overlay_action">Action if matching record found</label>
93 <!-- TMPL_INCLUDE NAME="tools-overlay-action.inc" -->
95 <li><label for="overlay_action">Action if no match found</label>
96 <!-- TMPL_INCLUDE NAME="tools-nomatch-action.inc" -->
98 <li><label for="overlay_action">Item processing</label>
99 <!-- TMPL_INCLUDE NAME="tools-item-action.inc" -->
102 <input type="submit" class="button" value="Apply different matching rule" />
104 <!-- TMPL_IF name="rematch_attempted" -->
105 <!-- TMPL_IF name="rematch_failed" -->
106 <p><span class="problem">Failed to apply different matching rule</span></p>
108 <p><span class="problem">Applied different matching rule. Number of records matched now
109 <!-- TMPL_VAR name="num_with_matches" -->
113 <!-- TMPL_IF name="changed_overlay_action" -->
114 <p><span class="problem">Changed action if matching record found</span></p>
116 <!-- TMPL_IF name="changed_nomatch_action" -->
117 <p><span class="problem">Changed action if no match found</span></p>
119 <!-- TMPL_IF name="changed_item_action" -->
120 <p><span class="problem">Changed item processing option</span></p>
126 <fieldset class="rows">
127 <!-- TMPL_IF name="can_commit" -->
128 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
129 <input type="hidden" name="op" value="commit-batch" />
130 <input type="hidden" name="runinbackground" value="" />
131 <input type="hidden" name="completedJobID" value="" />
132 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
133 <input type="submit" class="button" name="mainformsubmit" value="Import into catalogue" onclick="return submitBackgroundJob(this.form);" />
135 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
136 <div id="jobfailed" style="display:none"></div>
138 <!-- TMPL_IF name="can_revert" -->
139 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
140 <input type="hidden" name="op" value="revert-batch" />
141 <input type="hidden" name="runinbackground" value="" />
142 <input type="hidden" name="completedJobID" value="" />
143 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
144 <input type="submit" class="button" name="mainformsubmit" value="Undo import into catalogue" onclick="return submitBackgroundJob(this.form);" />
146 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
147 <div id="jobfailed" style="display:none"></div>
151 <!-- TMPL_IF name="did_commit" -->
152 <p><span class="problem">Completed import of records</span></p>
154 <tr><td>Number of records added</td><td><!-- TMPL_VAR name="num_added" --></td></tr>
155 <tr><td>Number of records updated</td><td><!-- TMPL_VAR name="num_updated" --></td></tr>
156 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
157 <tr><td>Number of items added</td><td><!-- TMPL_VAR name="num_items_added" --></td></tr>
158 <tr><td>Number of items ignored because of duplicate barcode</td><td><!-- TMPL_VAR name="num_items_errored" --></td></tr>
161 <!-- TMPL_IF name="did_revert" -->
162 <p><span class="problem">Undid import of records</span></p>
164 <tr><td>Number of records deleted</td><td><!-- TMPL_VAR name="num_deleted" --></td></tr>
165 <tr><td>Number of items deleted</td><td><!-- TMPL_VAR name="num_items_deleted" --></td></tr>
166 <tr><td>Number of records not deleted due to items on loan</td><td><!-- TMPL_VAR name="num_errors" --></td></tr>
167 <tr><td>Number of records changed back</td><td><!-- TMPL_VAR name="num_reverted" --></td></tr>
168 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
174 <!-- TMPL_IF name="batch_list" -->
175 <!-- TMPL_IF name="pages" -->
178 <!-- TMPL_LOOP name="pages" -->
179 <!-- TMPL_IF name="current_page" -->
180 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
182 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
197 <!-- TMPL_LOOP name="batch_list" -->
199 <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>
200 <td><!-- TMPL_VAR name="file_name" --></td>
201 <td><!-- TMPL_VAR name="comments" --></td>
202 <td><!-- TMPL_VAR name="import_status" --></td>
203 <td><!-- TMPL_VAR name="upload_timestamp" --></td>
204 <td><!-- TMPL_VAR name="num_biblios" --></td>
205 <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>
209 <!-- TMPL_IF name="pages" -->
212 <!-- TMPL_LOOP name="pages" -->
213 <!-- TMPL_IF name="current_page" -->
214 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
216 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
223 <!-- TMPL_IF name="biblio_list" -->
224 <!-- TMPL_IF name="pages" -->
227 <!-- TMPL_LOOP name="pages" -->
228 <!-- TMPL_IF name="current_page" -->
229 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
231 <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>
243 <!-- TMPL_LOOP name="biblio_list" -->
245 <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=<!-- TMPL_VAR name='import_record_id' -->" rel="gb_page_center[600,500]"><!-- TMPL_VAR name="record_sequence"--></a></td>
246 <td><!-- TMPL_VAR name="citation"--></td>
247 <td><!-- TMPL_VAR name="status"--></td>
248 <td><!-- TMPL_VAR name="overlay_status"--></td>
250 <!-- TMPL_IF name="match_biblionumber" -->
253 <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>
258 <!-- TMPL_IF name="pages" -->
261 <!-- TMPL_LOOP name="pages" -->
262 <!-- TMPL_IF name="current_page" -->
263 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
265 <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>
271 <!-- TMPL_IF name="batch_info" -->
272 <span class="problem">There are no records in this batch to import.</span>
273 <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged MARC records</a>.
279 <div class="yui-b noprint">
280 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
283 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->