Ticket #2094 (closed defect: invalid)
dcTemplate::getSortByStr
| Reported by: | onurbruno | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | module:core | Version: | 2.7.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Probably a bug on lines 346 to 348, even with an appropriate ArrayObject? populated in the templateCustomSortByAlias, I can't get my aliases merged in the $default_alias array.
Possible workaround :
if (!isset($default_alias[$k])) {
$default_alias[$k] = array();
}
Change History
Note: See
TracTickets for help on using
tickets.

This behaviour function works :
public static function templateCustomSortByAlias($alias) { $alias['post']['category'] = 'cat_id'; $alias['post']['format'] = 'post_format'; $alias['comment']['filter'] = 'spam_filter'; }Could you give us some more details about your implementation of the behaviour function?