http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=4321 "Uncaught ReferenceError: biblionumber is not defined" Coming from this line: browser = KOHA.browser('', parseInt(biblionumber, 10));
Created attachment 162426 [details] [review] 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.
Created attachment 162431 [details] [review] 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. Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 162577 [details] [review] 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. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed for 24.05! Well done everyone, thank you!
Pushed to 23.11.x for 23.11.04
Backported to 23.05.x for upcoming 23.05.10.