瀏覽代碼

[Administration] Factures > Liste : classement par ordre alphabétique de la colonne 'Utilisateur'

feature/rotating_product
Guillaume Bourgeois 5 月之前
父節點
當前提交
6064c069fd
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      domain/Document/Invoice/InvoiceSearch.php

+ 2
- 2
domain/Document/Invoice/InvoiceSearch.php 查看文件

@@ -70,8 +70,8 @@ class InvoiceSearch extends Invoice
'name',
'date',
'username' => [
'asc' => ['user_invoice.lastname' => SORT_ASC, 'user_invoice.name' => SORT_ASC],
'desc' => ['user_invoice.lastname' => SORT_DESC, 'user_invoice.name' => SORT_DESC],
'asc' => ['IF(ISNULL(user_invoice.name_legal_person), user_invoice.lastname, user_invoice.name_legal_person)' => SORT_ASC],
'desc' => ['IF(ISNULL(user_invoice.name_legal_person), user_invoice.lastname, user_invoice.name_legal_person)' => SORT_DESC],
]
],
'defaultOrder' => [

Loading…
取消
儲存