More uncopied updates from core

RTIR/Search/Results.html is a suspiciously sparse copy of core.
While I hope that soon it will cease to exist, for now, honor your
search preferences to match Core and also handle the RowsPerPage vs Rows
split.

Resolves issues #30037
Merge branch '3.2/search-preferences'