change query date method in page-index