Commit a12d3d1b authored by Bouzid Fergani's avatar Bouzid Fergani Committed by Kyle M Hall

Bug 15636 - DataTables Warning: Requested unknown parameter from opac-detail.tt

Signed-off-by: Srdjan Jankovic's avatarSrdjan <[email protected]>
Signed-off-by: joubu's avatarJonathan Druart <[email protected]>
This patch adds the same tests in the aoColumns DT definition than the
ones in the creation of the table. That's sound good.
Signed-off-by: default avatarKyle M Hall <[email protected]>
parent 00960f19
......@@ -1428,8 +1428,10 @@
$(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, {
"aoColumns": [
[% IF ( item_level_itypes ) %]null,[% END %]
null,
[% IF ( OpacLocationBranchToDisplay == 'both' ) %]null,[% END %]
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %]null,[% END %]
[% UNLESS ( singleBranchMode ) %]
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]null,[% END %]
[% END %]
[% IF ( itemdata_ccode ) %]null,[% END %]
null,
[% IF ( itemdata_enumchron ) %]null,[% END %]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment