From be23122991b93874cc5970398174527aa0106aa3 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 9 Apr 2012 16:52:56 +0200 Subject: [PATCH] Bug 7926: Acq search results show empty () for orders without basket group To test: - search for orders by title or vendor - make sure some results are attached to a basket group, while others are not - make sure correct information shows in the basket group column of search results Signed-off-by: Chris Cormack - Fixed merge conflict --- .../prog/en/modules/acqui/histsearch.tt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt index 3249cf7..cd4217a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt @@ -79,7 +79,13 @@ [% FOREACH suggestions_loo IN suggestions_loop %] [% suggestions_loo.basketname %] ([% suggestions_loo.basketno %]) - [% suggestions_loo.groupname %] ([% suggestions_loo.basketgroupid %]) + + [% IF ( suggestions_loo.basketgroupid ) %] + [% suggestions_loo.groupname %] ([% suggestions_loo.basketgroupid %]) + [% ELSE %] +   + [% END %] + [% IF ( suggestions_loo.invoicenumber ) %] [% suggestions_loo.invoicenumber %] [% ELSE %] -- 1.7.9.5