Bug 15577

Summary: Link in OPAC doesn't redirect anywhere
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: brendan, f.demians, hector.hecaxmmx, julian.maurice, kyle
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15576
Change sponsored?: --- Patch complexity: String patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 15577: Correcting link redirect
Bug 15577: 404 html code error in OPAC message with syspref OPACPatronDetails
[SIGNED-OFF]Bug 15577: Correcting link redirect
Bug 15577: Correcting link redirect

Description Aleisha Amohia 2016-01-14 02:33:14 UTC
When a user has a restriction or is debarred, a yellow message shows up on the OPAC summary page (opac-user.pl). The link is meant to redirect to the accounts page (opac-account.pl) but it doesn't go anywhere.
Comment 1 Aleisha Amohia 2016-01-14 02:37:29 UTC Comment hidden (obsolete)
Comment 2 Héctor Eduardo Castro Avalos 2016-01-14 06:18:03 UTC
Another bug Aleisha, opac-userupdate.pl lead us to a html code error 404 if you click in "online update form".

I will fix this in a follow-up
Comment 3 Héctor Eduardo Castro Avalos 2016-01-14 06:19:15 UTC Comment hidden (obsolete)
Comment 4 Aleisha Amohia 2016-01-14 06:21:38 UTC
(In reply to Héctor Eduardo Castro Avalos from comment #2)
> Another bug Aleisha, opac-userupdate.pl lead us to a html code error 404 if
> you click in "online update form".
> 
> I will fix this in a follow-up

I already have this in Bug 15576!
Comment 5 Héctor Eduardo Castro Avalos 2016-01-14 20:55:31 UTC
Comment on attachment 46639 [details] [review]
Bug 15577: 404 html code error in OPAC message with syspref OPACPatronDetails

Sorry I didn't realize it.
Comment 6 Héctor Eduardo Castro Avalos 2016-01-14 21:02:55 UTC Comment hidden (obsolete)
Comment 7 Kyle M Hall (khall) 2016-01-15 16:00:19 UTC
Created attachment 46707 [details] [review]
Bug 15577: Correcting link redirect

To test:
1) Add a restriction to a user
2) Log in as that user in the OPAC
3) Click 'your account page' link in the yellow mesage
4) Confirm you are taken to opac-account.pl

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 8 Brendan Gallagher 2016-01-27 02:50:42 UTC
Pushed to Master - Should be in the May 2016 release.  Thanks!
Comment 9 Julian Maurice 2016-01-29 12:41:41 UTC
Patch pushed to 3.22.x, will be in 3.22.3
Comment 10 Frédéric Demians 2016-02-12 06:38:47 UTC
This patch has been pushed to 3.20.x, will be in 3.20.9.