changed search.pt and cms_views.py variables and logic