Dotclear

Ticket #2094 (closed defect: invalid)

Opened 10 years ago

Last modified 10 years ago

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

comment:1 Changed 10 years ago by franck

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?

comment:2 Changed 10 years ago by franck

Any answer?

comment:3 Changed 10 years ago by franck

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone A definir deleted

No answer, no bug, we close.

Note: See TracTickets for help on using tickets.

Sites map