Index: openacs-4/packages/invoices/lib/invoice-list.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/lib/invoice-list.tcl,v
diff -u -r1.13 -r1.14
--- openacs-4/packages/invoices/lib/invoice-list.tcl 2 Apr 2006 22:08:02 -0000 1.13
+++ openacs-4/packages/invoices/lib/invoice-list.tcl 2 May 2006 12:07:11 -0000 1.14
@@ -122,8 +122,9 @@
#invoices.Invoice_Cancel#
#invoices.Delete#
#invoices.Preview#  #invoices.View_invoice#
- #invoices.View_copy#
+ #invoices.View_copy#
#invoices.View_cancel#
+ #invoices.View_credit#
}
}
} -actions $actions -sub_class narrow \
@@ -133,7 +134,8 @@
default_value invoice_nr
invoice_nr {
label {[_ invoices.iv_invoice_invoice_nr]}
- orderby {t.invoice_nr}
+ orderby_desc {t.invoice_nr desc, lower(cr.title) asc}
+ orderby_asc {t.invoice_nr asc, lower(cr.title) asc}
default_direction desc
}
title {