Fixes #5765: Ensure repositories appear on content view details when sea...

...rching, BZ1086187.

On the content view details page for repositories, if a user had searched
for the content view the search transferred to the search being done
by the repositories table.