Autosubmit when num-per-page changes