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>
41 <!-- TMPL_IF name="batch_info" -->
42 <fieldset class="rows">
44 <li><label>File name</label> <!-- TMPL_VAR name="file_name" --></li>
45 <li><label>Comments</label> <!-- TMPL_VAR name="comments" --></li>
46 <li><label>Staged</label> <!-- TMPL_VAR name="upload_timestamp" --></li>
47 <li><label>Status</label> <!-- TMPL_VAR name="import_status" --></li>
48 <li><label>Matching rule applied</label>
49 <!-- TMPL_IF name="current_matcher_id" -->
50 <!-- TMPL_VAR name="current_matcher_code" --> (<!-- TMPL_VAR name="current_matcher_description" -->)
52 No matching rule in effect
55 <li><label>Action if matching record found</label> <!-- TMPL_VAR NAME="overlay_action" --></li>
56 <li><label>Action if no match found</label> <!-- TMPL_VAR NAME="nomatch_action" --></li>
57 <li><label>Item processing</label> <!-- TMPL_VAR NAME="item_action" --></li>
60 <!-- TMPL_IF name="can_commit" -->
62 <fieldset class="rows">
63 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
64 <input type="hidden" name="op" value="redo-matching" />
65 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
66 <input type="hidden" name="current_matcher_id" value="<!-- TMPL_VAR name="current_matcher_id" -->" />
68 <li><label for name="new_matcher_id">New matching rule</label>
69 <select name="new_matcher_id" id="new_matcher_id">
70 <option value="">Do not look for matching records</option>
71 <!-- TMPL_LOOP name="available_matchers" -->
72 <!-- TMPL_IF name="selected" -->
73 <option value="<!-- TMPL_VAR name="matcher_id" -->" selected="selected">
74 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
77 <option value="<!-- TMPL_VAR name="matcher_id" -->">
78 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
84 <li><label for="overlay_action">Action if matching record found</label>
85 <!-- TMPL_INCLUDE NAME="tools-overlay-action.inc" -->
87 <li><label for="overlay_action">Action if no match found</label>
88 <!-- TMPL_INCLUDE NAME="tools-nomatch-action.inc" -->
90 <li><label for="overlay_action">Item processing</label>
91 <!-- TMPL_INCLUDE NAME="tools-item-action.inc" -->
94 <input type="submit" class="button" value="Apply different matching rule" />
96 <!-- TMPL_IF name="rematch_attempted" -->
97 <!-- TMPL_IF name="rematch_failed" -->
98 <p><span class="problem">Failed to apply different matching rule</span></p>
100 <p><span class="problem">Applied different matching rule. Number of records matched now
101 <!-- TMPL_VAR name="num_with_matches" -->
105 <!-- TMPL_IF name="changed_overlay_action" -->
106 <p><span class="problem">Changed action if matching record found</span></p>
108 <!-- TMPL_IF name="changed_nomatch_action" -->
109 <p><span class="problem">Changed action if no match found</span></p>
111 <!-- TMPL_IF name="changed_item_action" -->
112 <p><span class="problem">Changed item processing option</span></p>
118 <fieldset class="rows">
119 <!-- TMPL_IF name="can_commit" -->
120 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
121 <input type="hidden" name="op" value="commit-batch" />
122 <input type="hidden" name="runinbackground" value="" />
123 <input type="hidden" name="completedJobID" value="" />
124 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
125 <input type="submit" class="button" name="mainformsubmit" value="Complete import" onclick="return submitBackgroundJob(this.form);" />
127 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
128 <div id="jobfailed" style="display:none"></div>
130 <!-- TMPL_IF name="can_revert" -->
131 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
132 <input type="hidden" name="op" value="revert-batch" />
133 <input type="hidden" name="runinbackground" value="" />
134 <input type="hidden" name="completedJobID" value="" />
135 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
136 <input type="submit" class="button" name="mainformsubmit" value="Undo import" onclick="return submitBackgroundJob(this.form);" />
138 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
139 <div id="jobfailed" style="display:none"></div>
143 <!-- TMPL_IF name="did_commit" -->
144 <p><span class="problem">Completed import of records</span></p>
146 <tr><td>Number of records added</td><td><!-- TMPL_VAR name="num_added" --></td></tr>
147 <tr><td>Number of records updated</td><td><!-- TMPL_VAR name="num_updated" --></td></tr>
148 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
149 <tr><td>Number of items added</td><td><!-- TMPL_VAR name="num_items_added" --></td></tr>
150 <tr><td>Number of items ignored because of duplicate barcode</td><td><!-- TMPL_VAR name="num_items_errored" --></td></tr>
153 <!-- TMPL_IF name="did_revert" -->
154 <p><span class="problem">Undid import of records</span></p>
156 <tr><td>Number of records deleted</td><td><!-- TMPL_VAR name="num_deleted" --></td></tr>
157 <tr><td>Number of items deleted</td><td><!-- TMPL_VAR name="num_items_deleted" --></td></tr>
158 <tr><td>Number of records not deleted due to items on loan</td><td><!-- TMPL_VAR name="num_errors" --></td></tr>
159 <tr><td>Number of records changed back</td><td><!-- TMPL_VAR name="num_reverted" --></td></tr>
160 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
166 <!-- TMPL_IF name="batch_list" -->
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>
189 <!-- TMPL_LOOP name="batch_list" -->
191 <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>
192 <td><!-- TMPL_VAR name="file_name" --></td>
193 <td><!-- TMPL_VAR name="comments" --></td>
194 <td><!-- TMPL_VAR name="import_status" --></td>
195 <td><!-- TMPL_VAR name="upload_timestamp" --></td>
196 <td><!-- TMPL_VAR name="num_biblios" --></td>
197 <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>
201 <!-- TMPL_IF name="pages" -->
204 <!-- TMPL_LOOP name="pages" -->
205 <!-- TMPL_IF name="current_page" -->
206 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
208 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
215 <!-- TMPL_IF name="biblio_list" -->
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>
235 <!-- TMPL_LOOP name="biblio_list" -->
237 <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>
238 <td><!-- TMPL_VAR name="citation"--></td>
239 <td><!-- TMPL_VAR name="status"--></td>
240 <td><!-- TMPL_VAR name="overlay_status"--></td>
242 <!-- TMPL_IF name="match_biblionumber" -->
245 <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>
250 <!-- TMPL_IF name="pages" -->
253 <!-- TMPL_LOOP name="pages" -->
254 <!-- TMPL_IF name="current_page" -->
255 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
257 <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>
266 <div class="yui-b noprint">
267 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
270 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->