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 commita12d3d1bfa) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commit57a727afa5) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
58cfee7eec
commit
0fe0bfff60
|
|
@ -1430,8 +1430,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