Split out repeated code into partial
Show 20 documents at a time