Fix building query params from docstring

docstring on view method never used for build params