Bug 15636 - DataTables Warning: Requested unknown parameter from opac-detail.tt
Signed-off-by: Srdjan <srdjan@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> 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: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
00960f1964
commit
a12d3d1bfa
1 changed files with 4 additions and 2 deletions
|
@ -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 %]
|
||||
|
|
Loading…
Reference in a new issue