Bug 39991: Fix MARC record display on showdiffmarc.pl
To test: 1. Download a record you already have in Koha 2. Cataloging > Stage MARC records for import 3. Record matching rule: KohaBiblio (99$c) 4. Stage for import > View batch 5. In the table results there should be a link to 'View' in the 'Diff' column. 6. Notice the Record comparison is not side by side. 7. APPLY PATCH 8. Try steps 1 - 6 again, this time the record comparison should be side by side. Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
023f935360
commit
0cafda92b6
|
|
@ -59,26 +59,28 @@
|
|||
|
||||
<div class="page-section col-sm-12">
|
||||
<h2>[% RECORDTITLE | html %]</h2>
|
||||
<div id="col1" class="col-sm-6">
|
||||
<h3>Original</h3>
|
||||
[% IF ( ERROR_FORMATTED1 ) %]
|
||||
<div class="alert alert-warning">
|
||||
<p>The record ID <em>[% RECORDID | html %]</em> doesn't match any existing record.</p>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<pre>[% MARC_FORMATTED1 | html %]</pre>
|
||||
[% END %]
|
||||
</div>
|
||||
<div id="col2" class="col-sm-6">
|
||||
<h3>Imported</h3>
|
||||
[% IF ( ERROR_FORMATTED2 ) %]
|
||||
<div class="alert alert-warning">
|
||||
<p>The import ID number <em>[% IMPORTID | html %]</em> doesn't match any existing record.</p>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<h3>[% IMPORTTITLE | html %]</h3>
|
||||
<pre>[% MARC_FORMATTED2 | html %] </pre>
|
||||
[% END %]
|
||||
<div class="row">
|
||||
<div id="col1" class="col-sm-6">
|
||||
<h3>Original</h3>
|
||||
[% IF ( ERROR_FORMATTED1 ) %]
|
||||
<div class="alert alert-warning">
|
||||
<p>The record ID <em>[% RECORDID | html %]</em> doesn't match any existing record.</p>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<pre>[% MARC_FORMATTED1 | html %]</pre>
|
||||
[% END %]
|
||||
</div>
|
||||
<div id="col2" class="col-sm-6">
|
||||
<h3>Imported</h3>
|
||||
[% IF ( ERROR_FORMATTED2 ) %]
|
||||
<div class="alert alert-warning">
|
||||
<p>The import ID number <em>[% IMPORTID | html %]</em> doesn't match any existing record.</p>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<h3>[% IMPORTTITLE | html %]</h3>
|
||||
<pre>[% MARC_FORMATTED2 | html %] </pre>
|
||||
[% END %]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset class="action">
|
||||
|
|
|
|||
Loading…
Reference in New Issue