Make 'num_links=0' configuration available in Pagination library

Changed conditions when making 'first' and 'last' links
1 file changed