Bug 14479

Summary: Open 856 link in new tab
Product: Koha Reporter: Ed Veal <edward.m.veal>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: REOPENED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aleisha, gmcharlt, tasham_8
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Ed Veal 2015-06-30 18:50:34 UTC
Right now it appears that the 856 links open in a new tab/window from the OPAC Normal view but not from other pages. It needs to work the same way from the Staff Client as well as the OPAC marc view.
Comment 1 natasha 2016-01-19 01:42:50 UTC
The links open in the same tab for the OPAC Normal View and the Staff Client, so this has already been fixed.
Comment 2 Aleisha Amohia 2024-09-04 23:31:11 UTC
Reopening this because, as the title suggests, it would be great for 856 links to open in a new tab for both the OPAC and the staff interface. At the moment if you open an 856 link your Koha page gets replaced with the 856 link. We already do this when viewing linked authority records.
Comment 3 Katrin Fischer 2024-09-05 07:14:37 UTC
We have OPACURLOpenInNewWindow. 

We could add the same for the staff interface or we could make a coding guideline that all links to external sources (not Koha) should open in a new tab. 

For this to move, it would to know it would be good to know where we have links not following the pref.
Comment 4 Aleisha Amohia 2024-09-05 21:24:14 UTC
Perhaps a StaffInterfaceURLOpenInNewWindow option is the way to go. We'd have to do frequent regex to confirm the link is actually external (not Koha) which may have unintended consequences, and caused unexpected behaviour. At least with a preference people can see a clear on/off for this.