mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Made invoice archive sort by reverse invoice date (rather than order added to database)
This commit is contained in:
@@ -126,7 +126,7 @@ class InvoiceArchive(generic.ListView):
|
||||
except:
|
||||
pass
|
||||
|
||||
object_list = self.model.objects.filter(filter)
|
||||
object_list = self.model.objects.filter(filter).order_by('-invoice_date')
|
||||
|
||||
return object_list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user