[Bug 15636] New: DataTables Warning: Requested unknown parameter from opac-detail.tt
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15636 Bug ID: 15636 Summary: DataTables Warning: Requested unknown parameter from opac-detail.tt Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: remi.mayrand-provencher@inLibro.com QA Contact: testopia@bugs.koha-community.org the jQuery that generates the DataTable for the holdings (in opac-detail.tt) can bug depending on the instance's system preferences. The header's columns are generated depending on various system preferences, but the jquery that tries to build the DataTable is using a different test for one of the columns, so it isn't calculating how many columns it has to build right. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15636 --- Comment #1 from Rémi Mayrand-Provencher <remi.mayrand-provencher@inLibro.com> --- Created attachment 47141 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47141&action=edit Bug15636 - DataTables Warning: Requested unknown parameter from opac-detail.tt Fixes the jQuery that builds the holdingst DataTable in opac-detail.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15636 Rémi Mayrand-Provencher <remi.mayrand-provencher@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |remi.mayrand-provencher@inL | |ibro.com CC| |eric.begin@inLibro.com, | |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15636 Rémi Mayrand-Provencher <remi.mayrand-provencher@inLibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47141|0 |1 is obsolete| | --- Comment #2 from Rémi Mayrand-Provencher <remi.mayrand-provencher@inLibro.com> --- Created attachment 47142 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47142&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15636 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Remi, can you please add a test plan to your commit message? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15636 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=7720 --- Comment #4 from Blou <philippe.blouin@inlibro.com> --- Hello Cate, We'll need your help on that. You see, we cannot reproduce the situation without hacking the code. It arose because we're adding an extra column in there for ebooks, in a custom development. It causes a jqury message to pop up in the UI because of the imbalance in column count. The origin of it is commit 6d32d66f, by bug #7720. You can see in there that it's missing the javascript part for the test. So, not sure how to test it. Except that by looking at the code (and 7720's code), it's "obvious". Just need a way to translate it into a scenario... -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org