For my custom module i am using "hookActionCustomerGridQueryBuilderModifier" to edit the logics in which customers a employee can see.
This is working just fine, but I am missing a thing!
The search filter on the tab "Orders > Orders > Add new order" is not being filtered.
(controller=AdminOrders&addorder)
I know it is using JqueryPlugin but it should (if i am correct) also be filtered since the logics are being handled right here: PrestaShop\PrestaShop\Core\Domain\Customer\Query\SearchCustomers.
Anyways, what am I missing? Or what would be a decent way to also filter customers when trying to create a order in the backoffice?