We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search::add(Customer::withCount('orders')->select('id', 'first_name', 'last_name', 'email', 'orders_count'), ['first_name', 'last_name'], 'first_name') ->add(Order::orderListSelectColumns(), ['order_number'], 'order_date') ->endWithWildcard() ->includeModelType() ->orderByDesc() ->paginate(25) ->search($searchValue);
Want to achieve with customer order count and select specific columns for customers' table?
But the count not coming orders_count not found error returning
orders_count
Column not found: 1054 Unknown column 'orders_count' in 'field list'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Want to achieve with customer order count and select specific columns for customers' table?
But the count not coming
orders_count
not found error returningColumn not found: 1054 Unknown column 'orders_count' in 'field list'
The text was updated successfully, but these errors were encountered: