but what about my shortcode and views - it has vice versa logic - I need to show:
- View "sht-adm_orders-prod_list" - shows all products & than breackdown by all orders "sht-adm_orders-list" which needs to be filtered by 'prodid' shortcode attribute [get_orders_by_product_id]
What you did - it is the view logic - All orders & breackdown by Products per orders
I've tested again the View "sht-adm_orders-prod_list" (list of. Products) and subsidary view "sht-adm_orders-list" (list of orders with product in it) - I've switched to constant , Order ID = 5697
The result of View was completely wrong - it shows all the products has order # 5697 . That is totally wrong, because the order #5697 is only for product ID 5313.
That means there is a bug in filtering Views. I expect to see
Product ID 5313 & related order 5697
Product ID XXXX & 'No items found' for related orders.