mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Bankimport: Order transactions by their job's date (#362)
Leads to having the most recent unresolved transfers on top instead of in between.
This commit is contained in:
committed by
Raphael Michel
parent
d1357ed5c0
commit
5e3087341c
@@ -215,6 +215,8 @@ class ImportView(EventPermissionRequiredMixin, ListView):
|
||||
q = self.request.GET.get('search')
|
||||
qs = qs.filter(
|
||||
Q(payer__icontains=q) | Q(reference__icontains=q) | Q(comment__icontains=q)
|
||||
).order_by(
|
||||
'-import_job__created'
|
||||
)
|
||||
|
||||
return qs
|
||||
|
||||
Reference in New Issue
Block a user