Get pagination example to work