relationOrders('id_invoice') ; } /** * Retourne les options de base nécessaires à la fonction de recherche. * * @return array */ public static function defaultOptionsSearch() { return [ 'with' => [], 'join_with' => ['user AS user_invoice', 'producer'], 'orderby' => 'date ASC', 'attribute_id_producer' => 'invoice.id_producer' ]; } }