Bug 7232 - clicking title on receive should open in new window/tab
Summary: clicking title on receive should open in new window/tab
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL: /cgi-bin/koha/acqui/parcel.pl?type=in...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 23:35 UTC by Nicole C. Engard
Modified: 2020-06-04 20:32 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 7232: Opens title and suggestion in new tab so as to not lose the basket (4.01 KB, patch)
2015-06-03 05:13 UTC, Aleisha Amohia
Details | Diff | Splinter Review
Bug 7232: Open suggestion in new tab in parcel.tt (1.52 KB, patch)
2015-06-03 05:19 UTC, Aleisha Amohia
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2011-11-15 23:35:48 UTC
when receiving items in acq it would be nice if clicking the title opened a new window or tab so we didn't lose the basket.
Comment 1 Jonathan Druart 2013-07-02 13:04:25 UTC
right clic > open in a new tab/window?

I think we don't want to force the user to open a new window/tab.
Comment 2 Nicole C. Engard 2013-07-03 03:29:39 UTC
I don't know that it's a bad thing to force - or maybe have a pop up that shows the title info. Losing your basket is annoying to many librarians using this feature.
Comment 3 Katrin Fischer 2013-07-03 20:13:05 UTC
But isn't that the standard behaviour for all lists? Receive would then be the only one behaving differently. When you click on a title, it opens, but always in the same window. I try to train the libraries to use tabs, not sure how successful :)
Comment 4 Nicole C. Engard 2013-07-04 01:52:47 UTC
We have a pref that asks if links in the opac should open in new tabs/windows maybe something for the staff.

And while I specially say this is an issue on receive, you're right, it's an issue all throughout acq when you click a title you loose your basket.'

I do have this listed as an enhancement - not a bug, so ideas (other than training people to open in a new tab - cause we all know that's not always an option since we don't train everyone who uses Koha) welcome.
Comment 5 Olli-Antti Kivilahti 2015-01-22 10:23:54 UTC
Beating the dead horse...
I am sorry but I have to agree with Jonathan and Katrin here. We should teach our librarians to use the browser properly, instead of trying to programmatically fix user errors.
Comment 6 Owen Leonard 2015-01-22 14:28:41 UTC
If clicking a link results in the unexpected loss of state when the user is in the process of entering data I would call that a problem. I think it's a pretty well established pattern that if you doing something like filling out a form on a shopping site's checkout page and there is a link to something like privacy policy or terms of service that clicking the link will open in a new window, tab, or modal view.

If this situation is similar, then it requires a similar solution.
Comment 7 Aleisha Amohia 2015-06-03 05:13:30 UTC
Created attachment 39792 [details] [review]
Bug 7232: Opens title and suggestion in new tab so as to not lose the basket

Have added target="_blank" to the title link in parcel.tt as well as the title link and suggestion link in basket.tt so that when the user goes to these links, they will not lose the basket page.

To test:
1) Go to Acquisitions, find a vendor and add some orders to the basket, one from an existing record and one from a suggestion.
2) VIEW the basket (basket.pl)
3) Click on a title, click on the link to a suggestion. Notice these open in new tabs
4) Close the basket
5) Click 'Receive shipment' (will be taken to parcel.pl)
6) Click on a title, click on the link to a suggestion. Notice these open in new tabs
Comment 8 Aleisha Amohia 2015-06-03 05:19:25 UTC
Created attachment 39793 [details] [review]
Bug 7232: Open suggestion in new tab in parcel.tt

Forgot to add this in the first patch.

Test case still applies as above.
(Between step 4 and 5, click on the 'invoice number' of your basket to see the orders. Should've mentioned this)
Comment 9 Mark Tompsett 2015-06-05 17:42:15 UTC
(In reply to Olli-Antti Kivilahti from comment #5)
> Beating the dead horse...
> I am sorry but I have to agree with Jonathan and Katrin here. We should
> teach our librarians to use the browser properly, instead of trying to
> programmatically fix user errors.

+1

Next thing, they'll be using the new tab/window instead of the old one, and they'll nest several layers deep. It just gets ugly. User education is always better.

So, although the attached patches likely work correctly, I don't think it is wise to do that.
Comment 10 Nick Clemens 2019-06-12 10:53:58 UTC
There seems to be consensus that this behaviour is not going to be implemented

It should be possible to use JS to alter the link and add target="_blank" wherever a user desires.

Closing this report