Add queristory_from to view