Hi,
function onBeforeOrderListing( $paramBase, &$extrafilters, &$pageInfo, &$filters, &$joins, &$searchMap )
* searchMap allows you to change the columns used during the search.
If the fields are available in the performed query, you will then be able to search into them.
Grid Sort - The ordering is in the "pageInfo", under " $pageInfo->filter->order->value ".
In HikaMarket, we set some restrictions on ordering values.
For the moment, the accepted ordering are :
$orderingAccept = array('hkorder.','hkuser.');
Which mean that the order need to be on the HikaShop order table fields or in the HikaShop user table fields.
Drop-down select - That inclusion can be made thanks to the $extrafilters.
Please take a look at the HikaShop/market plugin like I wrote in my message #241787.
It will give you sample code for the addition of an HTML filters and also sample to include extra table in the query.
Regards,