[VUFIND-1258] KohaILSDI returns wrong name in function patronLogin Created: 21/Nov/17 Updated: 21/Nov/17 Resolved: 21/Nov/17 |
|
Status: | Resolved |
Project: | VuFind® |
Components: | ILS Driver |
Affects versions: | 4.1 |
Fix versions: | 4.1.2 |
Type: | Bug | Priority: | Major |
Reporter: | Roland Keck | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original estimate: | Not Specified | ||
Environment: | Ubuntu 16.04.3 LTS |
Description |
When entering a comment in VuFind the name of the commentator is stored in user.lastname (referenced using comments.user_id). In VuFind 4.1 user.lastname is always set to "unknown". This is caused by assigning a wrong Koha field in the statement 'lastname' => $this->getField($rsp->{'lastname'}). Should be 'lastname' => $this->getField($rsp->{'surname'} instead. |
Comments |
Comment by Demian Katz [ 21/Nov/17 ] |
Fixed here: https://github.com/vufind-org/vufind/commit/7a5ce7cc0b0e45f872211449b18ca36c201e2d42 |