# Main code test
# on Front-End:
* use `Search Box` from Sidebar to search for `Home` keyword
* confirm, that relevant results appear and contain only `Home` category
# in IDE:
* open `/themes/advanced/platform/elements/content_boxes/search_results.elm.tpl` template for editing
* rename `list_name` parameter in the `c_ListCategories` tag to `name` and save changes
# on Front-End
* reload Search Results page in Web Browser
* confirm that search results are not relevant to `Home` keyword (e.g. contains many categories, not only `Home` category)
# Visits code test
NOTE: Debug mode must be enabled.
# in Admin Console
* go to {nav User Management > Users} section
* create new user
* go to {nav E-commerce > Affiliates}
* create new affiliate using e-mail used during user creation above
* approve affiliate record using `Approve` button on toolbar
* go to {nav User Management > Users}, select previously created user in the grid
* press `Login As` button in toolbar
* confirm that Front-End was opened in new window/tab
# on Front-End (that was opened in new window/tab)
* click on `Affiliate` link in the `My Account` sidebar section
* confirm that `Affiliate Program` page is opened
* click on `Affiliate Statistics` link in the main page part
* confirm that `Affiliate Statistics` page is opened
* click on `Details` link in the `Total Visitors` row
* confirm that `Visitor Statistics` page is opened, and no sql error happened
# in IDE:
* open `/themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl` template for editing
* rename `list_name` parameter in the `visits_PrintList` tag to `name` and save changes
# on Front-End (that was opened in new window/tab)
* reload `Visitor Statistics` page in Web Browser
* confirm that noticed about undefined `OrderTotalAmount_SUM` and `OrderAffiliateCommission_SUM` indexes will appear in Debugger