From 4637296d04ff720ed24493ff857ff2a5ec0e5cff Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Wed, 9 Mar 2016 14:49:40 -0500
Subject: [PATCH] Bug 16033 - Quotes upload preview broken for 973 days
Content-Type: text/plain; charset="utf-8"

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.
---
 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.1.4