From bugzilla-daemon@bugs.koha-community.org Mon Dec 4 14:05:33 2023 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 35478] New: When selecting a patron for a suggestion we have undefined fields Date: Mon, 04 Dec 2023 13:05:32 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4159641210244694414==" --===============4159641210244694414== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D35478 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 =3D ''; 1303 suggested +=3D ''; 1304 suggested +=3D borrower.surname + ', ' + borrower.firstname = + ' (' + borrower.cardnumber + ')'; 1305 suggested +=3D ' '; 1306 suggested +=3D 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 descripti= on --=20 You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. --===============4159641210244694414==-- From bugzilla-daemon@bugs.koha-community.org Mon Dec 4 14:05:43 2023 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 35478] When selecting a patron for a suggestion we have undefined fields Date: Mon, 04 Dec 2023 13:05:41 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7608336728446800660==" --===============7608336728446800660== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35478 Nick Clemens changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com -- You are receiving this mail because: You are watching all bug changes. --===============7608336728446800660==--