let the QueryField pass the custom_query parameter to the QueryBuilder. backport from archetypes.querywidget.