Multiple filters of the same type are not possible?

  • Posts: 228
  • Thank you received: 27
  • Hikashop Business
4 years 5 months ago #318072

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18

So, i was trying to create a massaction for orders, and i was trying to use the filter: "Order Status" for 2 statuses (created and cancelled).
When i use only 1 "order status", it works but with 2, is not working. It dosen't trow an error or something, it just not showing the result, it dosen't matter what action i use.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82583
  • Thank you received: 13293
  • MODERATOR
4 years 5 months ago #318078

Hi,

Filters use the "AND" logic.
So in your example, the order will only match if it's both in the status "cancelled" and the status "created" which isn't possible.
What you can do instead of these two filters is to use the "order column" filter on the "order_status column with the operator being "regexp". That way, in the value input field, you can enter (created|cancelled)
The filter will then match either created or cancelled orders.

The following user(s) said Thank You: oxido

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum