From a9c57077e5e7b8a92f4c38607b4022b365970034 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sat, 23 Apr 2016 07:21:54 +0100 Subject: [PATCH] Bug 16328: follow-up for bug 15044 - Fix datatable error Bug 15044 added a new column to the suggestion table at the OPAC but forgot to modify the DT params. Test plan: The suggestion table at the OPAC should not be broken with this patch. NOTE: Sorting was broken prior to patch. Sorting was fixed after patch. The added null causes the field count to match up properly. Signed-off-by: Mark Tompsett --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index f9f92f2..45b5e59 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -286,6 +286,7 @@ [% IF ( loggedinusername ) %]null,[% END %] { "sType": "anti-the" }, null, + null, [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %]null,[% END %] [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %]null,[% END %] null -- 2.1.4