Bug 29648: (follow-up) Add missing raw filter

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Fridolin Somers 2022-04-27 10:34:04 -10:00
parent 287f30b0a0
commit 33a2610b5b
7 changed files with 7 additions and 7 deletions

View file

@ -1385,7 +1385,7 @@ Note that permanent location is a code, and location may be an authval.
}
[% IF Koha.Preference('AcquisitionDetails') %]
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'acquisitiondetails-table', 'json') %];
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'acquisitiondetails-table', 'json') | $raw %];
var acquisitiondetails_table = KohaTable("orders", {
"sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
'bPaginate': false,

View file

@ -131,7 +131,7 @@
[% INCLUDE 'columns_settings.inc' %]
<script id="js">
$(document).ready(function() {
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') %];
var table_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail', 'checkoutshistory-table', 'json') | $raw %];
[% UNLESS show_patron_column %]
// Remove the patron column definition
table_settings['columns'].splice(0,1);

View file

@ -838,7 +838,7 @@
<script>
var prefilters = '[% prefilters | $raw %]';
// Set column settings
var table_settings = [% TablesSettings.GetTableSettings( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %];
var table_settings = [% TablesSettings.GetTableSettings( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) | $raw %];
[% IF services_json.length > 0 %]
var services = [% services_json | $raw %];

View file

@ -137,7 +137,7 @@
[% Asset.js("js/members-menu.js") | $raw %]
<script>
$(document).ready(function() {
var table_settings = [% TablesSettings.GetTableSettings('members', 'holdshistory', 'holdshistory-table', 'json') %];
var table_settings = [% TablesSettings.GetTableSettings('members', 'holdshistory', 'holdshistory-table', 'json') | $raw %];
[% UNLESS show_itemtype_column %]
//Remove item type column settings
table_settings['columns'] = table_settings['columns'].filter(function(c){return c['columnname'] != 'itemtype';});

View file

@ -59,7 +59,7 @@
<script>
var prefilters = '[% prefilters | html %]';
// Set column settings
var table_settings = [% TablesSettings.GetTableSettings( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) %];
var table_settings = [% TablesSettings.GetTableSettings( 'illrequests', 'ill-requests', 'ill-requests', 'json' ) | $raw %];
</script>
[% INCLUDE 'ill-list-table-strings.inc' %]
[% Asset.js("js/ill-list-table.js") | $raw %]

View file

@ -156,7 +156,7 @@
[% INCLUDE 'columns_settings.inc' %]
<script id="js">
$(document).ready(function() {
var table_settings = [% TablesSettings.GetTableSettings('members', 'checkouthistory', 'checkouthistory-table', 'json') %];
var table_settings = [% TablesSettings.GetTableSettings('members', 'checkouthistory', 'checkouthistory-table', 'json') | $raw %];
var table = KohaTable("table_readingrec", {
"sPaginationType": "full",
"aaSorting": [[10, 'desc']]

View file

@ -171,7 +171,7 @@
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'columns_settings.inc' %]
<script>
var table_settings = [% TablesSettings.GetTableSettings( 'reports', 'orders_by_fund', 'funds-table', 'json' ) %];
var table_settings = [% TablesSettings.GetTableSettings( 'reports', 'orders_by_fund', 'funds-table', 'json' ) | $raw %];
$(document).ready( function () {
var funds_table = KohaTable("funds", {
'autoWidth': false,