fix pagination on search modal ajax