From 9eec358ec6eb007c570b11982ef5cb979dbc37c6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 9 Mar 2016 14:49:40 -0500 Subject: [PATCH] Bug 16033 - Quotes upload preview broken for 973 days MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit A missing snippet of DataTable configuration means that when you upload a CSV of quotes to the Quotes of the Day feature the table previewing your import is not visible. This patch corrects it. To test, apply the patch and go to Tools -> Quote editor -> Import quotes. - Upload a CSV file containing data in two columns, "source","text" - When your upload completes you should see a DataTable previewing the data from your CSV. - Check that deletion of individual quotes works from the preview. - Check that quotes are correctly imported. - Ponder the long 2.66 years during which this page was broken. Signed-off-by: Frédéric Demians Quote of the day: Serenity of mind comes with patience. Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher (cherry picked from commit 54214c4016d3d20da44047df41034fd752c50591) Signed-off-by: Julian Maurice (cherry picked from commit 618bb26c212511dd8e94822aaabc80729d788527) Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt index 827cbd471d..36806fae19 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt @@ -159,6 +159,7 @@ "bPaginate" : true, "bSort" : false, "sPaginationType" : "full_numbers", + "sDom": '<"top pager"iflp>rt<"bottom pager"flp><"clear">', "aaData" : aaData, "aoColumns" : [ { -- 2.39.5