Bug 16033 - Quotes upload preview broken for 973 days
authorOwen Leonard <oleonard@myacpl.org>
Wed, 9 Mar 2016 19:49:40 +0000 (14:49 -0500)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 11 Mar 2016 15:27:20 +0000 (15:27 +0000)
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 <f.demians@tamil.fr>
  Quote of the day: Serenity of mind comes with patience.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt

index 827cbd4..36806fa 100644 (file)
             "bPaginate"         : true,
             "bSort"             : false,
             "sPaginationType"   : "full_numbers",
+            "sDom": '<"top pager"iflp>rt<"bottom pager"flp><"clear">',
             "aaData"            : aaData,
             "aoColumns"         : [
                 {