add current table in search template