Add views to stp_online for search function