Index: openacs-4/packages/invoices/lib/report-first-order.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/lib/report-first-order.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/invoices/lib/report-first-order.xql 10 Apr 2006 15:58:36 -0000 1.1 +++ openacs-4/packages/invoices/lib/report-first-order.xql 13 Apr 2006 12:13:13 -0000 1.2 @@ -17,7 +17,7 @@ and o.offer_id = i.latest_revision and o.organization_id = sub.organization_id and o.offer_id = sub.offer_id - $extra_query + [template::list::filter_where_clauses -and -name "reports"] [template::list::orderby_clause -name reports -orderby]