Неправильно отображает количество тикетов в раздел

Вывожу все разделы с тикетами стандартно. Но мне в итоге неправильно отображает количество тикетов в разделах.
В первом показывает 2, хотя их там 15, во втором 1 — их там больше, а в остальных — 0 (ноль).
[[!getTicketsSections?
	&limit=`0`
	&showLog=`1`
	&parents=`[[*id]]`
]]
Вот лог showLog

0.0002770: Query parameters are prepared.
0.0000541: xPDO query object created
0.0014501: leftJoined TicketTotal as Total
0.0000060: Grouped by TicketsSection.id
0.0001471: Added selection of TicketsSection: SQL_CALC_FOUND_ROWS `id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `link_attributes`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `introtext`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `publishedon`, `publishedby`, `menutitle`, `donthit`, `privateweb`, `privatemgr`, `content_dispo`, `hidemenu`, `class_key`, `context_key`, `content_type`, `uri`, `uri_override`, `hide_children_in_tree`, `show_in_tree`, `properties`
0.0001731: Added selection of TicketTotal: `tickets`, `comments`, `views`, `stars`, `rating`, `rating_plus`, `rating_minus`
0.0014708: Processed additional conditions
0.0019801: Added where condition: class_key=TicketsSection, TicketsSection.parent:IN(231), TicketsSection.published=1, TicketsSection.hidemenu=0, TicketsSection.deleted=0
0.0001278: Sorted by views, DESC
0.0006499: SQL prepared «SELECT SQL_CALC_FOUND_ROWS `TicketsSection`.`id`, `TicketsSection`.`type`, `TicketsSection`.`contentType`, `TicketsSection`.`pagetitle`, `TicketsSection`.`longtitle`, `TicketsSection`.`description`, `TicketsSection`.`alias`, `TicketsSection`.`link_attributes`, `TicketsSection`.`published`, `TicketsSection`.`pub_date`, `TicketsSection`.`unpub_date`, `TicketsSection`.`parent`, `TicketsSection`.`isfolder`, `TicketsSection`.`introtext`, `TicketsSection`.`richtext`, `TicketsSection`.`template`, `TicketsSection`.`menuindex`, `TicketsSection`.`searchable`, `TicketsSection`.`cacheable`, `TicketsSection`.`createdby`, `TicketsSection`.`createdon`, `TicketsSection`.`editedby`, `TicketsSection`.`editedon`, `TicketsSection`.`deleted`, `TicketsSection`.`deletedon`, `TicketsSection`.`deletedby`, `TicketsSection`.`publishedon`, `TicketsSection`.`publishedby`, `TicketsSection`.`menutitle`, `TicketsSection`.`donthit`, `TicketsSection`.`privateweb`, `TicketsSection`.`privatemgr`, `TicketsSection`.`content_dispo`, `TicketsSection`.`hidemenu`, `TicketsSection`.`class_key`, `TicketsSection`.`context_key`, `TicketsSection`.`content_type`, `TicketsSection`.`uri`, `TicketsSection`.`uri_override`, `TicketsSection`.`hide_children_in_tree`, `TicketsSection`.`show_in_tree`, `TicketsSection`.`properties`, `Total`.`tickets`, `Total`.`comments`, `Total`.`views`, `Total`.`stars`, `Total`.`rating`, `Total`.`rating_plus`, `Total`.`rating_minus` FROM `modx_site_content` AS `TicketsSection` LEFT JOIN `modx_tickets_totals` `Total` ON `TicketsSection`.`id` = `Total`.`id` WHERE ( `TicketsSection`.`class_key` = 'TicketsSection' AND `TicketsSection`.`parent` IN (231) AND `TicketsSection`.`published` = 1 AND `TicketsSection`.`hidemenu` = 0 AND `TicketsSection`.`deleted` = 0 ) GROUP BY TicketsSection.id ORDER BY views DESC „
0.0012190: SQL executed
0.0001030: Total rows: 7
0.0001030: Rows fetched
0.0002670: Returning raw data
0.0019820: Loaded “modChunk» with name «tpl.Tickets.sections.row»
0.0085049: Returning processed chunks
0.0183542: Total time
13 369 344: Memory usage
Андрей
27 октября 2016, 17:54
modx.pro
1 024
0

Комментарии: 1

Андрей
12 ноября 2016, 14:00
0
Помогите решить вопрос, никак не поборю его(((
    Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
    1