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
47 <!-- TMPL_IF name="can_commit" -->
49 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
50 <input type="hidden" name="op" value="redo-matching" />
51 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
52 <input type="hidden" name="current_matcher_id" value="<!-- TMPL_VAR name="current_matcher_id" -->" />
53 <select name="new_matcher_id" id="new_matcher_id">
54 <option value="">Do not look for matching records</option>
55 <!-- TMPL_LOOP name="available_matchers" -->
56 <!-- TMPL_IF name="selected" -->
57 <option value="<!-- TMPL_VAR name="matcher_id" -->" selected="selected">
58 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
61 <option value="<!-- TMPL_VAR name="matcher_id" -->">
62 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
67 <input type="submit" class="button" value="Apply different matching rule" />
72 <!-- TMPL_IF name="can_commit" -->
73 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
74 <input type="hidden" name="op" value="commit-batch" />
75 <input type="hidden" name="runinbackground" value="" />
76 <input type="hidden" name="completedJobID" value="" />
77 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
78 <input type="submit" class="button" name="mainformsubmit" value="Complete import" onclick="return submitBackgroundJob(this.form);" />
80 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0<span>%</div>
81 <div id="jobfailed" style="display:none"></div>
83 <!-- TMPL_IF name="can_revert" -->
84 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
85 <input type="hidden" name="op" value="revert-batch" />
86 <input type="hidden" name="runinbackground" value="" />
87 <input type="hidden" name="completedJobID" value="" />
88 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
89 <input type="submit" class="button" name="mainformsubmit" value="Undo import" onclick="return submitBackgroundJob(this.form);" />
91 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0<span>%</div>
92 <div id="jobfailed" style="display:none"></div>
95 <!-- TMPL_IF name="did_commit" -->
96 <p><span class="problem">Completed import of records</span></p>
98 <tr><td>Number of records added</td><td><!-- TMPL_VAR name="num_added" --></td></tr>
99 <tr><td>Number of records updated</td><td><!-- TMPL_VAR name="num_updated" --></td></tr>
100 <tr><td>Number of items added</td><td><!-- TMPL_VAR name="num_items_added" --></td></tr>
101 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
104 <!-- TMPL_IF name="did_revert" -->
105 <p><span class="problem">Undid import of records</span></p>
107 <tr><td>Number of records deleted</td><td><!-- TMPL_VAR name="num_deleted" --></td></tr>
108 <tr><td>Number of items deleted</td><td><!-- TMPL_VAR name="num_items_deleted" --></td></tr>
109 <tr><td>Number of records not deleted due to items on loan</td><td><!-- TMPL_VAR name="num_errors" --></td></tr>
110 <tr><td>Number of records changed back</td><td><!-- TMPL_VAR name="num_reverted" --></td></tr>
111 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
114 <!-- TMPL_IF name="rematch_attempted" -->
115 <!-- TMPL_IF name="rematch_failed" -->
116 <p><span class="problem">Failed to apply different matching rule</span></p>
118 <p><span class="problem">Applied different matching rule. Number of records matched now
119 <!-- TMPL_VAR name="num_with_matches" -->
126 <!-- TMPL_IF name="batch_list" -->
127 <!-- TMPL_IF name="pages" -->
130 <!-- TMPL_LOOP name="pages" -->
131 <!-- TMPL_IF name="current_page" -->
132 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
134 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
149 <!-- TMPL_LOOP name="batch_list" -->
151 <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>
152 <td><!-- TMPL_VAR name="file_name" --></td>
153 <td><!-- TMPL_VAR name="comments" --></td>
154 <td><!-- TMPL_VAR name="import_status" --></td>
155 <td><!-- TMPL_VAR name="upload_timestamp" --></td>
156 <td><!-- TMPL_VAR name="num_biblios" --></td>
157 <td><!-- TMPL_VAR name="num_items" --></td>
161 <!-- TMPL_IF name="pages" -->
164 <!-- TMPL_LOOP name="pages" -->
165 <!-- TMPL_IF name="current_page" -->
166 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
168 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
175 <!-- TMPL_IF name="biblio_list" -->
176 <!-- TMPL_IF name="pages" -->
179 <!-- TMPL_LOOP name="pages" -->
180 <!-- TMPL_IF name="current_page" -->
181 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
183 <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>
195 <!-- TMPL_LOOP name="biblio_list" -->
197 <td><!-- TMPL_VAR name="record_sequence"--></td>
198 <td><!-- TMPL_VAR name="citation"--></td>
199 <td><!-- TMPL_VAR name="status"--></td>
200 <td><!-- TMPL_VAR name="overlay_status"--></td>
202 <!-- TMPL_IF name="match_biblionumber" -->
205 <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>
210 <!-- TMPL_IF name="pages" -->
213 <!-- TMPL_LOOP name="pages" -->
214 <!-- TMPL_IF name="current_page" -->
215 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
217 <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>
227 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
230 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->