Include a pagination on index and search

The feature is already available in the JS kit.