mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 00:12: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:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
object_list = self.model.objects.filter(filter)
|
object_list = self.model.objects.filter(filter).order_by('-invoice_date')
|
||||||
|
|
||||||
return object_list
|
return object_list
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user