Fix for sorting by last_sent

This commit is contained in:
Hillel Coren 2017-01-26 20:17:02 +02:00
parent 138577ff11
commit 6106f8d705

View File

@ -144,6 +144,7 @@ class InvoiceRepository extends BaseRepository
'invoices.start_date', 'invoices.start_date',
'invoices.end_date', 'invoices.end_date',
'invoices.last_sent_date', 'invoices.last_sent_date',
'invoices.last_sent_date as last_sent',
'contacts.first_name', 'contacts.first_name',
'contacts.last_name', 'contacts.last_name',
'contacts.email', 'contacts.email',