[Koha-bugs] [Bug 36099] JS error in console on non-existent biblio record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 26 11:04:27 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36099

--- Comment #1 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 162426
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162426&action=edit
Bug 36099: count and holdcount template vars into JS vars should default to 0
if empty

Visit:
http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=4321
Notice you have 2 console errors:
1) Uncaught SyntaxError: Unexpected token ';'
2) Uncaught ReferenceError: biblionumber is not defined

Apply patch. Repeat. Notice no error shows.
Visit an existing biblionumber. Confirm all is well.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list