DDBC template tag and search page