(03-12-2012 11:23 AM)akm Wrote: <option value="???" {$sortsel['???']}>Custom Thread:</option>
Assume ??? would include the thread field key = 'ct_' ?
Based on the documentation:
undoc.html Wrote:To sort by a thread field, prefix its key with tf_
undoc.html Wrote:eg {$sortsel['tf_myfield']}
where
myfield =
key
So, based on this custom field:
(03-12-2012 11:23 AM)akm Wrote: 1. If thread field key = ct_
this code:
(03-12-2012 11:23 AM)akm Wrote: <option value="???" {$sortsel['???']}>Custom Thread:</option>
will be come something like this: