From 6229c5bbec6e3b55db4aa9180f16d230b398fe9a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Dec 2014 10:59:19 +0100 Subject: [PATCH] Bug 13371: Fix filtering on numbers This patch fixes a weird bug on some instances. Since the sort is disabled on this table, we don't care on the type of the data. It should allow to filter on all columns of the table. --- .../prog/en/modules/acqui/booksellers.tt | 30 ++++++++++------------ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index afb285a..1c987c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -59,11 +59,11 @@ $(document).ready(function() { 'bUseColVis': true, 'aoColumns': [ null, - { type: 'number' }, { type: 'text' }, - { type: 'number' }, - { type: 'number' }, - { type: 'number' }, + { type: 'text' }, + { type: 'text' }, + { type: 'text' }, + { type: 'text' }, { type: 'text' }, { type: 'date-range' }, { type: 'text' }, @@ -141,8 +141,8 @@ $(document).ready(function() { bookseller No. Name - Item count - Biblio count + Item count + Biblio count Items expected Created by Date @@ -184,18 +184,16 @@ $(document).ready(function() { [% basket.basketno %] [% basket.basketname %] - [% basket.total_items %] - [% IF basket.total_items_cancelled %] - ([% basket.total_items_cancelled %] cancelled) - [% END %] - + [% basket.total_items %] + [% IF basket.total_items_cancelled %] + ([% basket.total_items_cancelled %] cancelled) + [% END %] - [% basket.total_biblios %] - [% IF basket.total_biblios_cancelled %] - ([% basket.total_biblios_cancelled %] cancelled) - [% END %] - + [% basket.total_biblios %] + [% IF basket.total_biblios_cancelled %] + ([% basket.total_biblios_cancelled %] cancelled) + [% END %] [% basket.expected_items %] -- 2.1.0