Searching an order by a specific role

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Hi all,
I have created a new role for a customer with different price levels. Now i have some customers with two roles: this last one (new created, for example "Role 1") and "Registered user". It's possible searching orders by customer that have "Role 1" role ?
Thanks very much
8 years ago
cesare.marasco wrote:
Hi all,
I have created a new role for a customer with different price levels. Now i have some customers with two roles: this last one (new created, for example "Role 1") and "Registered user". It's possible searching orders by customer that have "Role 1" role ?
Thanks very much


No. It is not possible in default nop. Now only orders by OrderByDescending(c => c.CreatedOnUtc). But you can do it by changing source code. CustomerService : ICustomerService  in  public virtual IPagedList<Customer> GetAllCustomers(...) action
8 years ago
@sohel
He wants to search orders, not customers
8 years ago
Thanks!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.