From c496327edc53049dfad65353772a5be42ad13d5f Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Tue, 30 Mar 2010 10:01:56 +0200 Subject: [PATCH] (BUG #4348) parcel.pl: list with duplicates orders after a clearfilter Signed-off-by: Galen Charlton --- acqui/parcel.pl | 2 ++ .../intranet-tmpl/prog/en/modules/acqui/parcel.tmpl | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/acqui/parcel.pl b/acqui/parcel.pl index 83fb45b509..5ee97b0c72 100755 --- a/acqui/parcel.pl +++ b/acqui/parcel.pl @@ -109,6 +109,8 @@ if($input->param('format') eq "json"){ $data->{ordernumber} = $order->{ordernumber}; $data->{title} = $order->{title}; $data->{author} = $order->{author}; + $data->{isbn} = $order->{isbn}; + $data->{booksellerid} = $order->{booksellerid}; $data->{biblionumber} = $order->{biblionumber}; $data->{freight} = $order->{freight}; $data->{quantity} = $order->{quantity}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl index a4775eb32c..bc71bace09 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl @@ -83,13 +83,13 @@ for( i = 0 ; i < orders.length ; i++){ order = orders[i]; - $('' + $('' + '' + order.basketno + '' - + ' ' + order.ordernumber + ' ' + + ' ' + order.ordernumber + ' ' + '' - + '' + order.title + ' / ' + order.author + '–' + order.isbn + '' + + '' + order.title + ' by ' + order.author + ' – ' + order.isbn + '' + 'MARC | Card' - + '' + order.quantrem + ' / ' + order.quantity + '' + + '' + order.quantity + '' + '' + order.ecost + '' + '' + order.ordertotal + '' + '' @@ -114,6 +114,7 @@ function clearFilters() { $("#nothingfoundrow").remove(); $("#pendingt tbody.filterclass tr").show(); + $("#pendingt tbody.filterclass tr.orderfound").remove(); pendingExpand(); } -- 2.20.1