The "total_rows
" property of my view returns the total rows (22), but not the number of items I have set the view to display (5) (through the Web UI Block->Basic Settings).
How can I get this in a proper way without relying on (the possibly soon to be deprecated "result
" property?
for now Im using
$totalRows = min($view->total_rows, count($view->result));