add search by template id option