Bug 41574: (follow-up) Fixing syntax error and wrong variable name

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2026-01-15 15:26:57 -05:00 committed by Lucas Gass
parent 7af54a2ead
commit 5c445707b7
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@
}
location.href = `/cgi-bin/koha/patroncards/print.pl?batch_id=${batch_id}&${getstr}`;
} else if (mode == 'batch') {
location.href = `/cgi-bin/koha/patroncards/print.pl?batch_id=${batch_id`;
location.href = `/cgi-bin/koha/patroncards/print.pl?batch_id=${batch_id}`;
} else {
// some pass-through error trapping just in case...
}
@ -319,7 +319,7 @@
order: [[0, "asc"]],
pagingType: "full",
lengthMenu: [aLengthMenu, aLengthMenuLabel],
pageLength: patronsPerPage,
pageLength: prefs.PatronsPerPage,
autoWidth: false,
});
$("#additems").click(function(){