Hi!
whit new silverstripe versions 3.4 I have an error in this point
$tot_records=$this->total_ris();
ERROR:The method 'total_ris' does not exist on 'Page_Controller'
Whit other version I haven't this problem..how can correct?
This function hel me in pagination and show me total number of result of my query.