From 3a1ac31d52eb3760d23a17f6620c5541be77d0db 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=UTF-8 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. --- 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 827cbd4..36806fa 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.7.1