Bugzilla – Attachment 47142 Details for
Bug 15636
DataTables Warning: Requested unknown parameter from opac-detail.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15636 - DataTables Warning: Requested unknown parameter from opac-detail.tt
Bug-15636---DataTables-Warning-Requested-unknown-p.patch (text/plain), 1.47 KB, created by
Rémi Mayrand-Provencher
on 2016-01-21 20:00:48 UTC
(
hide
)
Description:
Bug 15636 - DataTables Warning: Requested unknown parameter from opac-detail.tt
Filename:
MIME Type:
Creator:
Rémi Mayrand-Provencher
Created:
2016-01-21 20:00:48 UTC
Size:
1.47 KB
patch
obsolete
>From 93772af53cbf03db1ca0af0cc3bf229455fee92f Mon Sep 17 00:00:00 2001 >From: remi <remi.mayrand-provencher@inLibro.com> >Date: Thu, 21 Jan 2016 12:32:00 -0500 >Subject: [PATCH] Bug 15636 - DataTables Warning: Requested unknown parameter > from opac-detail.tt > >Fixes the jQuery that generates the holdingst DataTable by adding the missing UNLESS and IF tests to it. > >The IF and UNLESS in opac-detail.tt need to be the same in the header declaration of the DataTable and the jquery that builds it or else there can be an error depening on the system preferences. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 3b5c404..20f760f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1435,7 +1435,9 @@ > $(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumns": [ > [% IF ( item_level_itypes ) %]null,[% END %] >- null, >+ [% UNLESS ( singleBranchModel ) %] >+ [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]null,[% END %] >+ [% END %] > [% IF ( OpacLocationBranchToDisplay == 'both' ) %]null,[% END %] > [% IF ( itemdata_ccode ) %]null,[% END %] > null, >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15636
:
47141
|
47142
|
50146
|
51186
|
53157
|
53177