p.totalRows = typeof tmp.total !== 'undefined' ? tmp.total :
                        ( c.debug ? console.error('Pager: no initial total page set!') || 0 : 0 );