Bug 6162

Summary: name missing on reading history in opac
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: TemplatesAssignee: Colin Campbell <colin.campbell>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: major    
Priority: PATCH-Sent (DO NOT USE) CC: chris, colin.campbell
Version: master   
Hardware: All   
OS: All   
URL: cgi-bin/koha/opac-readingrecord.pl
Change sponsored?: --- Patch complexity: ---
Who signed the patch off: Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 5917    
Attachments: missing name
Proposed fix
Proposed patch

Description Nicole C. Engard 2011-04-11 16:13:54 UTC
Created attachment 3869 [details]
missing name

on my reading history in the opac my name isn't showing ... it shows on other tabs in the opac and at the top right, just not on this tab.

I'm on Mac and FF4
Comment 1 Owen Leonard 2011-04-11 18:35:10 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2011-04-11 21:34:34 UTC
Pushed, please test
Comment 3 Colin Campbell 2011-04-12 10:36:11 UTC
The template is correct there is not (or rather should not be) an array of names. The problem is in the perl script which sends the borrower details twice both times incorrectly. Will send patch fixing script & template
Comment 4 Colin Campbell 2011-04-12 10:50:45 UTC
Created attachment 3889 [details] [review]
Proposed patch

Patch to fix the confused passing of borrower details to the template. Fix that and we don't need to complicate the template by referring to arrays which arn't, removes the loop code from the template
Comment 5 Chris Cormack 2011-04-14 03:03:09 UTC
Follow up patch from Colin pushed, please test