CRM-13561 - implementation of panes-mapper query hook