fix the bug when searching the order and the last 5 days records