2012-05-27, 01:58:41
jay_m Wrote:The special field "review-title" shows up on the page as a "0". The review-title field displays correctly when searched in the default search.
I assume this is a component for I18N Search custom rendering?
Your custom/special properties should only be named with A-Za-z_, as $item->review-title is interpreted as $item->review - title, both of which are undefined and thus 0, when converted to a number.
If you use the custom rendering of special pages (the view and search tabs in the special pages settings), you should use the function get_special_field('propertyname') and in that case a - will work, too.