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>
(cherry picked from commit a12d3d1bfa)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
58de933e03
commit
57a727afa5
|
|
@ -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 New Issue