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" -->
36 <!-- TMPL_IF name="batch_info" -->
37 <p><label>File name</label> <!-- TMPL_VAR name="file_name" --></p>
38 <p><label>Comments</label> <!-- TMPL_VAR name="comments" --></p>
39 <p><label>Staged</label> <!-- TMPL_VAR name="upload_timestamp" --></p>
40 <p><label>Status</label> <!-- TMPL_VAR name="import_status" --></p>
41 <p><label>Matching rule applied</label>
42 <!-- TMPL_IF name="current_matcher_id" -->
43 <!-- TMPL_VAR name="current_matcher_code" --> (<!-- TMPL_VAR name="current_matcher_description" -->)
45 No matching rule in effect
48 <!-- TMPL_IF name="can_commit" -->
50 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
51 <input type="hidden" name="op" value="redo-matching" />
52 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
53 <input type="hidden" name="current_matcher_id" value="<!-- TMPL_VAR name="current_matcher_id" -->" />
54 <select name="new_matcher_id" id="new_matcher_id">
55 <option value="">Do not look for matching records</option>
56 <!-- TMPL_LOOP name="available_matchers" -->
57 <!-- TMPL_IF name="selected" -->
58 <option value="<!-- TMPL_VAR name="matcher_id" -->" selected="selected">
59 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
62 <option value="<!-- TMPL_VAR name="matcher_id" -->">
63 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
68 <input type="submit" class="button" value="Apply different matching rule" />
73 <!-- TMPL_IF name="can_commit" -->
74 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
75 <input type="hidden" name="op" value="commit-batch" />
76 <input type="hidden" name="runinbackground" value="" />
77 <input type="hidden" name="completedJobID" value="" />
78 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
79 <input type="submit" class="button" name="mainformsubmit" value="Complete import" onclick="return submitBackgroundJob(this.form);" />
81 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
82 <div id="jobfailed" style="display:none"></div>
84 <!-- TMPL_IF name="can_revert" -->
85 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
86 <input type="hidden" name="op" value="revert-batch" />
87 <input type="hidden" name="runinbackground" value="" />
88 <input type="hidden" name="completedJobID" value="" />
89 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
90 <input type="submit" class="button" name="mainformsubmit" value="Undo import" onclick="return submitBackgroundJob(this.form);" />
92 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
93 <div id="jobfailed" style="display:none"></div>
96 <!-- TMPL_IF name="did_commit" -->
97 <p><span class="problem">Completed import of records</span></p>
99 <tr><td>Number of records added</td><td><!-- TMPL_VAR name="num_added" --></td></tr>
100 <tr><td>Number of records updated</td><td><!-- TMPL_VAR name="num_updated" --></td></tr>
101 <tr><td>Number of items added</td><td><!-- TMPL_VAR name="num_items_added" --></td></tr>
102 <tr><td>Number of items ignored because of duplicate barcode</td><td><!-- TMPL_VAR name="num_items_errored" --></td></tr>
103 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
106 <!-- TMPL_IF name="did_revert" -->
107 <p><span class="problem">Undid import of records</span></p>
109 <tr><td>Number of records deleted</td><td><!-- TMPL_VAR name="num_deleted" --></td></tr>
110 <tr><td>Number of items deleted</td><td><!-- TMPL_VAR name="num_items_deleted" --></td></tr>
111 <tr><td>Number of records not deleted due to items on loan</td><td><!-- TMPL_VAR name="num_errors" --></td></tr>
112 <tr><td>Number of records changed back</td><td><!-- TMPL_VAR name="num_reverted" --></td></tr>
113 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
116 <!-- TMPL_IF name="rematch_attempted" -->
117 <!-- TMPL_IF name="rematch_failed" -->
118 <p><span class="problem">Failed to apply different matching rule</span></p>
120 <p><span class="problem">Applied different matching rule. Number of records matched now
121 <!-- TMPL_VAR name="num_with_matches" -->
128 <!-- TMPL_IF name="batch_list" -->
129 <!-- TMPL_IF name="pages" -->
132 <!-- TMPL_LOOP name="pages" -->
133 <!-- TMPL_IF name="current_page" -->
134 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
136 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
151 <!-- TMPL_LOOP name="batch_list" -->
153 <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>
154 <td><!-- TMPL_VAR name="file_name" --></td>
155 <td><!-- TMPL_VAR name="comments" --></td>
156 <td><!-- TMPL_VAR name="import_status" --></td>
157 <td><!-- TMPL_VAR name="upload_timestamp" --></td>
158 <td><!-- TMPL_VAR name="num_biblios" --></td>
159 <td><!-- TMPL_VAR name="num_items" --></td>
163 <!-- TMPL_IF name="pages" -->
166 <!-- TMPL_LOOP name="pages" -->
167 <!-- TMPL_IF name="current_page" -->
168 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
170 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
177 <!-- TMPL_IF name="biblio_list" -->
178 <!-- TMPL_IF name="pages" -->
181 <!-- TMPL_LOOP name="pages" -->
182 <!-- TMPL_IF name="current_page" -->
183 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
185 <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>
197 <!-- TMPL_LOOP name="biblio_list" -->
199 <td><!-- TMPL_VAR name="record_sequence"--></td>
200 <td><!-- TMPL_VAR name="citation"--></td>
201 <td><!-- TMPL_VAR name="status"--></td>
202 <td><!-- TMPL_VAR name="overlay_status"--></td>
204 <!-- TMPL_IF name="match_biblionumber" -->
207 <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>
212 <!-- TMPL_IF name="pages" -->
215 <!-- TMPL_LOOP name="pages" -->
216 <!-- TMPL_IF name="current_page" -->
217 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
219 <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>
228 <div class="yui-b noprint">
229 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
232 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->