fixed sort's and pagination's links after filtering