From 063d434f3b94c39c79dd09cc48e5d225c1f60c54 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Dec 2014 10:59:19 +0100 Subject: [PATCH 8/9] 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. Signed-off-by: Paola Rossi --- .../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 %] -- 1.7.10.4