[Bug 35478] New: When selecting a patron for a suggestion we have undefined fields
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35478 Bug ID: 35478 Summary: When selecting a patron for a suggestion we have undefined fields Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org In the code in suggestion.tt: 1301 function select_suggester(borrowernumber, borrower) { 1302 var suggested = '<input type="hidden" id="suggestedby" name="suggestedby" value="' + borrowernumber + '" />'; 1303 suggested += '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' + borrowernumber + '">'; 1304 suggested += borrower.surname + ', ' + borrower.firstname + ' (' + borrower.cardnumber + ')'; 1305 suggested += '</a> '; 1306 suggested += borrower.branchname + ' (' + borrower.category_description + ')'; 1307 $("#tdsuggestedby").html(suggested); 1308 return 0; 1309 } The borrower json in the search doesn't have branchcode or category description -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35478 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org