Bug 7892: Open link to imported record in new tab
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 14 Apr 2013 15:05:39 +0000 (17:05 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 5 Jun 2013 14:17:20 +0000 (07:17 -0700)
Change links to imported records to open in a new window/tab
on the staged records management page.

To test:
1) Go to Tools > Staged MARC record management
2) Open an imported batch by clicking on the file name
3) Click on bib# in the record column
4) Verify links open in a new window/tab now

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt

index 391dda7..5b0e3a2 100644 (file)
@@ -1,6 +1,6 @@
 [% BLOCK final_match_link %]
     [% IF ( record.record_type == 'biblio' ) %]
-        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% record.final_match_id %]">[% record.final_match_id %]</a>
+        <a target="_blank" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% record.final_match_id %]">[% record.final_match_id %]</a>
     [% ELSIF ( record.record_type == 'auth' ) %]
         <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% record.final_match_id %]">[% record.final_match_id %]</a>
     [% END %]