added an extra parameter to disable the query chain. a little hacky for now until we modifable set query from domain

git-svn-id: file:///var/www/svn/anahita/anahita/branches/search@17069 a933e228-e664-4d3f-8241-49479697c698