When searching topics, the topics are shown with the default topic icon and not the ones that can be selected when posting topics.
Eg all pages linked to search and showing topics are affected (show unread posts etc).
Bug can be patched for style "prosilver" easily with following steps:
- File: /search.php
- Edit line 794
- Change:
$sql_select = 't.*, f.forum_id, f.forum_name';
- Into:
$sql_select = 't.*, f.forum_id, f.forum_name, f.enable_icons';
- File: /styles/prosilver/template/search_results.html
- Edit line 81
- Change:
<dt<!-- IF searchresults.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{searchresults.TOPIC_FOLDER_IMG_ALT}">
- Into:
<dt<!-- IF searchresults.TOPIC_ICON_IMG and searchresults.S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{searchresults.TOPIC_FOLDER_IMG_ALT}">