https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27292
Bug ID: 27292
Summary: TablesSettings.GetColumns() returning nothing creates
unexpected Javascript on request.tt
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
I was rebasing Bug 15565 when I noticed strange Javascript errors.
The following code in master was the actual problem:
columns_settings_borrowers_table = [% TablesSettings.GetColumns( 'circ',
'circulation', 'table_borrowers', 'json' ) | $raw %]
At the moment in koha-testing-docker, this creates the following Javascript:
"columns_settings_borrowers_table = "
For some reason, this doesn't currently cause a problem because the next line
is blank and that line is followed by "$(document).ready(function() {".
Anyway, there should be data coming back there, so that's something to
investigate...
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/