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 <p><label>File name</label> <!-- TMPL_VAR name="file_name" --></p>
43 <p><label>Comments</label> <!-- TMPL_VAR name="comments" --></p>
44 <p><label>Staged</label> <!-- TMPL_VAR name="upload_timestamp" --></p>
45 <p><label>Status</label> <!-- TMPL_VAR name="import_status" --></p>
46 <p><label>Matching rule applied</label>
47 <!-- TMPL_IF name="current_matcher_id" -->
48 <!-- TMPL_VAR name="current_matcher_code" --> (<!-- TMPL_VAR name="current_matcher_description" -->)
50 No matching rule in effect
53 <!-- TMPL_IF name="can_commit" -->
55 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
56 <input type="hidden" name="op" value="redo-matching" />
57 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
58 <input type="hidden" name="current_matcher_id" value="<!-- TMPL_VAR name="current_matcher_id" -->" />
59 <select name="new_matcher_id" id="new_matcher_id">
60 <option value="">Do not look for matching records</option>
61 <!-- TMPL_LOOP name="available_matchers" -->
62 <!-- TMPL_IF name="selected" -->
63 <option value="<!-- TMPL_VAR name="matcher_id" -->" selected="selected">
64 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
67 <option value="<!-- TMPL_VAR name="matcher_id" -->">
68 <!-- TMPL_VAR name="code" --> (<!-- TMPL_VAR name="description" -->)
73 <input type="submit" class="button" value="Apply different matching rule" />
78 <!-- TMPL_IF name="can_commit" -->
79 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
80 <input type="hidden" name="op" value="commit-batch" />
81 <input type="hidden" name="runinbackground" value="" />
82 <input type="hidden" name="completedJobID" value="" />
83 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
84 <input type="submit" class="button" name="mainformsubmit" value="Complete import" onclick="return submitBackgroundJob(this.form);" />
86 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
87 <div id="jobfailed" style="display:none"></div>
89 <!-- TMPL_IF name="can_revert" -->
90 <form action="<!-- TMPL_VAR name="script_name" -->" method="post">
91 <input type="hidden" name="op" value="revert-batch" />
92 <input type="hidden" name="runinbackground" value="" />
93 <input type="hidden" name="completedJobID" value="" />
94 <input type="hidden" name="import_batch_id" value="<!-- TMPL_VAR name="import_batch_id" -->" />
95 <input type="submit" class="button" name="mainformsubmit" value="Undo import" onclick="return submitBackgroundJob(this.form);" />
97 <div id="jobstatus" style="display:none">Job progress: <span id="jobprogress">0</span>%</div>
98 <div id="jobfailed" style="display:none"></div>
101 <!-- TMPL_IF name="did_commit" -->
102 <p><span class="problem">Completed import of records</span></p>
104 <tr><td>Number of records added</td><td><!-- TMPL_VAR name="num_added" --></td></tr>
105 <tr><td>Number of records updated</td><td><!-- TMPL_VAR name="num_updated" --></td></tr>
106 <tr><td>Number of items added</td><td><!-- TMPL_VAR name="num_items_added" --></td></tr>
107 <tr><td>Number of items ignored because of duplicate barcode</td><td><!-- TMPL_VAR name="num_items_errored" --></td></tr>
108 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
111 <!-- TMPL_IF name="did_revert" -->
112 <p><span class="problem">Undid import of records</span></p>
114 <tr><td>Number of records deleted</td><td><!-- TMPL_VAR name="num_deleted" --></td></tr>
115 <tr><td>Number of items deleted</td><td><!-- TMPL_VAR name="num_items_deleted" --></td></tr>
116 <tr><td>Number of records not deleted due to items on loan</td><td><!-- TMPL_VAR name="num_errors" --></td></tr>
117 <tr><td>Number of records changed back</td><td><!-- TMPL_VAR name="num_reverted" --></td></tr>
118 <tr><td>Number of records ignored</td><td><!-- TMPL_VAR name="num_ignored" --></td></tr>
121 <!-- TMPL_IF name="rematch_attempted" -->
122 <!-- TMPL_IF name="rematch_failed" -->
123 <p><span class="problem">Failed to apply different matching rule</span></p>
125 <p><span class="problem">Applied different matching rule. Number of records matched now
126 <!-- TMPL_VAR name="num_with_matches" -->
133 <!-- TMPL_IF name="batch_list" -->
134 <!-- TMPL_IF name="pages" -->
137 <!-- TMPL_LOOP name="pages" -->
138 <!-- TMPL_IF name="current_page" -->
139 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
141 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
156 <!-- TMPL_LOOP name="batch_list" -->
158 <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>
159 <td><!-- TMPL_VAR name="file_name" --></td>
160 <td><!-- TMPL_VAR name="comments" --></td>
161 <td><!-- TMPL_VAR name="import_status" --></td>
162 <td><!-- TMPL_VAR name="upload_timestamp" --></td>
163 <td><!-- TMPL_VAR name="num_biblios" --></td>
164 <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>
168 <!-- TMPL_IF name="pages" -->
171 <!-- TMPL_LOOP name="pages" -->
172 <!-- TMPL_IF name="current_page" -->
173 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
175 <a class="nav" href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="offset" -->"><!-- TMPL_VAR name="page_number" --></a>
182 <!-- TMPL_IF name="biblio_list" -->
183 <!-- TMPL_IF name="pages" -->
186 <!-- TMPL_LOOP name="pages" -->
187 <!-- TMPL_IF name="current_page" -->
188 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
190 <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>
202 <!-- TMPL_LOOP name="biblio_list" -->
204 <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>
205 <td><!-- TMPL_VAR name="citation"--></td>
206 <td><!-- TMPL_VAR name="status"--></td>
207 <td><!-- TMPL_VAR name="overlay_status"--></td>
209 <!-- TMPL_IF name="match_biblionumber" -->
212 <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>
217 <!-- TMPL_IF name="pages" -->
220 <!-- TMPL_LOOP name="pages" -->
221 <!-- TMPL_IF name="current_page" -->
222 <span class="current"><!-- TMPL_VAR name="page_number" --></span>
224 <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>
233 <div class="yui-b noprint">
234 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
237 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->