From 61afc0be5fae12d1b8fabd8128e045bd3ad5a290 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. 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 eb01497..bf2eec7 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' }, @@ -148,8 +148,8 @@ $(document).ready(function() { bookseller No. Name - Item count - Biblio count + Item count + Biblio count Items expected Created by Date @@ -191,18 +191,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.4