[Bug 11937] New: opac link doesn't open in new window
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Bug ID: 11937 Summary: opac link doesn't open in new window Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: nengard@gmail.com QA Contact: testopia@bugs.koha-community.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #1 from Nicole C. Engard <nengard@gmail.com> --- Hit enter too fast. On the staff detail page there is a link to open the opac view in a new window. It used to open in a new window, now it doesn't. I checked the code: [% IF ( OpacUrl ) %] <li><strong>OPAC view:</strong> <a href="http://[% OpacUrl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a> </li> [% END %] and the resulting page code: <span class="results_summary"><span class="label">OPAC view: </span><a href="http://kohavm/cgi-bin/koha/opac-detail.pl?biblionumber=4091" target="_blank">Open in new window</a>. </span> Both have the target="_blank" so what's stopping it from opening in a new window? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- I was able to reproduce this bug only with my Windows Firefox installation when my regular addons were enabled. When I tried it with addons disabled it worked as expected. That suggests to me that this is a browser addon compatibility problem rather than a Koha bug. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #3 from Nicole C. Engard <nengard@gmail.com> --- Any idea what plugin this could be? Other links with a target of _blank work on other sites for me and on other pages in Koha. For example on the staged marc management tool the link to biblionumber works there for me, but not the opac link. I am using Firefox on Mac. Nicole -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I have the same problem, haven't been able to tell which plugin it is yet. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Koha Team Lyon 3 <koha@univ-lyon3.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koha@univ-lyon3.fr -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch --- Comment #5 from Marc Véron <veron@veron.ch> --- I could reproduce the issue in the following case (FF and IE tested): 1. Close all Browser windows. 2. First open OPAC 3. Then open Staff client in the same window (or tab) 4. Go to a biblio's detail page 5. Hit Link OPAC view: Open in new window. (Note: Make sure that OPACBaseURL is set, otherwise link will not display...) Result: OPAC opens in same window (because it was already opened in this window before) If I open first staff client and then hit the link, OPAC opens in a new window or tab as expected. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david.roberts@ptfs-europe.c | |om --- Comment #6 from David Roberts <david.roberts@ptfs-europe.com> --- I have a brand new Chrome install with no addons installed and I can reproduce this problem. I'm inclined to think that this is not related to a browser addon. I also couldn't get it to work using the steps listed in comment 5 - each time it opens in the same window/tab. This is tested with Chrome and IE. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #7 from Marc Véron <veron@veron.ch> --- I can no longer reproduce the issue on current master (FF, IE and Chrome). Koha version: 3.17.00.060 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Tim Hannah <timdhannah@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timdhannah@gmail.com --- Comment #8 from Tim Hannah <timdhannah@gmail.com> --- Can reproduce in 3.16 and 3.18 in chrome and ie9 where staff detail page includes browse controls / url includes a searchid parameter. OPAC opens in new window, as expected, if staff side search finds and displays a single biblio (no browse controls, no searchid parameter). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Elaine Bradtke <eb@efdss.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eb@efdss.org --- Comment #9 from Elaine Bradtke <eb@efdss.org> --- Can confirm in 3.18.02 - Debian - using Chrome. In a single record, clicking on "Open in new window" does not open a new window, but navigates to the OPAC in the current window. However, it does work as expected in Firefox. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Academy CC| |chris@bigballofwax.co.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Abby <abbyrobertson.student@wegc.school.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abbyrobertson.student@wegc. | |school.nz --- Comment #10 from Abby <abbyrobertson.student@wegc.school.nz> --- Can't recreate bug in Firefox 34.0 or Chromium 39.0.2171.65 Ubuntu 14.04 (64-bit) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Liz Rea <liz@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |liz@catalyst.net.nz --- Comment #11 from Liz Rea <liz@catalyst.net.nz> --- I was able to reproduce this using Tim's plan. It seems to be to do with the number of results you get back, and whether or not there is search navigation. Maybe we can talk more about it tomorrow. :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Christopher Brannon <cbrannon@cdalibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cbrannon@cdalibrary.org --- Comment #12 from Christopher Brannon <cbrannon@cdalibrary.org> --- Koha 3.16.4 with Firefox Nightly 31.0, all add-ons (Firebug) disabled, still doesn't open in new window. Same for IE11. I don't think it has to do with number of results, as it isn't from a results page. It is from the record page (detail.pl). And I don't think it is the number of items in the record, because it is doing it with a record that only has 3 items. I can't reproduce Marc's findings. Tim has the most plausible scenario. I did a search for an item and the URL included a URL searchid parameter. When I click on the Open in new window link, it opens the OPAC in the current tab. When I back up, delete the searchid parameter and hit enter, same record opens without the Return to results control, and when I click on the link, it opens the OPAC in a new tab. When I put the searchid back, the problem comes back. I think Tim found the culprit. Christopher -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Nick Clemens <nick@quecheelibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11890 CC| |nick@quecheelibrary.org --- Comment #13 from Nick Clemens <nick@quecheelibrary.org> --- Just adding bug 11890 as a possible related issue. Seeing the same searchid appended to the link. VOKAL has both issues on our system. Disabling javascript clears the issue in both cases -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=13644 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #14 from Liz Rea <liz@catalyst.net.nz> --- The number of search results only matters because, if you search and get only one result, you won't have the search navigation.Clicking the link will work. If you, say, click the 3rd record in a list of several results, you will then have the search navigation (upper left hand side), and the link will open in the current window. :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #15 from Christopher Brannon <cbrannon@cdalibrary.org> --- (In reply to Liz Rea from comment #14)
The number of search results only matters because, if you search and get only one result, you won't have the search navigation.Clicking the link will work. If you, say, click the 3rd record in a list of several results, you will then have the search navigation (upper left hand side), and the link will open in the current window.
:)
Yes, I agree. :) Christopher -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #16 from Liz Rea <liz@catalyst.net.nz> --- Hooray! We understand each other! o/*HIGHFIVE*\o -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 jdemuth@roseville.ca.us <jdemuth@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdemuth@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #17 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- *** Bug 14243 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #18 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Christopher Brannon from comment #12)
Tim has the most plausible scenario. I did a search for an item and the URL included a URL searchid parameter. When I click on the Open in new window link, it opens the OPAC in the current tab. When I back up, delete the searchid parameter and hit enter, same record opens without the Return to results control, and when I click on the link, it opens the OPAC in a new tab. When I put the searchid back, the problem comes back. I think Tim found the culprit.
Same for me in FF 38. Removing searchid parameter in URL made the difference. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Agnes Rivers-Moore <arm@hanover.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arm@hanover.ca -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 --- Comment #19 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Still an issue - could we modify the script that adds the searchid to the URLs to not touch the OPAC link? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11937 NML <meteolib@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meteolib@gmail.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org