``build_query_from_params`` is a ``staticmethod``, there is no access to ``self`` there. I know it sucks, but I don't want to spend time fixing this code base now as I plan to rewrite it entirely as part of the new search UI work.