mFilter2 - не выводятся tv Новый

Дополнение: mSearch2

Доброго времени суток, не получается настроить вывод ТВ параметров в фильтр, не могу понять почему. Прошу вашей помощи. Параметры msoption и ms — вывелись.

[[!mFilter2?
                &class=`msProduct`
                &element=`msProducts`
                &tplOuter=`tpl.search.outer`
                &tpls=`tpl.search.row`
                &hideContainers=`1`
                &suggestions=`0`
                &includeTVs=`flat-floor,flat-place-area,flat-place-metro,flat-deadline`
                &parents=`3`
                &filters=`
                    msoption|flats-type:checbox,
                    tv|flat-place-area:select,
                    tv|flat-place-metro:select,  
                    ms|price:number,
                    ms|weight:number,
                    tv|flat-floor:number,
                    tv|flat-deadline:year
                `
                &tplFilter.outer.ms|price=`tpl.mFilter2.filter.outer`
                &tplFilter.row.ms|price=`tpl.mFilter2.filter.number`
                
                &tplFilter.outer.ms|weight=`tpl.mFilter2.filter.outer`
                &tplFilter.row.ms|weight=`tpl.mFilter2.filter.number`
                
                &tplFilter.outer.tv|flat-floor=`tpl.mFilter2.filter.outer`
                &tplFilter.row.tv|flat-floor=`tpl.mFilter2.filter.number` 
                
                &tplFilter.outer.tv|flat-deadline=`tpl.mFilter2.filter.outer`
                &tplFilter.row.tv|flat-deadline=`tpl.mFilter2.filter.number` 
                
                &tplFilter.outer.tv|flat-place-area=`tpl.mFilter2.filter.select`
                &tplFilter.row.tv|flat-place-area=`tpl.mFilter2.filter.option`
                
                &tplFilter.outer.tv|flat-place-metro=`tpl.mFilter2.filter.select`
                &tplFilter.row.tv|flat-place-metro=`tpl.mFilter2.filter.option`                
                
                &showLog=`1`
            ]]
]]
А вот лог
0.0184970: pdoTools loaded.
0.0015390: Conditions prepared
0.0000260: xPDO query object created
0.0001540: leftJoined msProductData as Data
0.0000849: leftJoined msVendor as Vendor
0.0000021: Grouped by msProduct.id
0.0000081: Parameter "return" set to "ids", so we select only primary key
0.0006800: Processed additional conditions
0.0008209: Added where condition: class_key=msProduct, msProduct.parent:IN(3,4,5,6,7,8,9,10,38,50,56,57,58,59,60,61,62,11,39,40,41,45,51,52,53,54,55), msProduct.published=1, msProduct.deleted=0, msProduct.isfolder=0
0.0000322: Sorted by msProduct.id, ASC
0.0001810: SQL prepared "SELECT `msProduct`.`id` FROM `modx_site_content` AS `msProduct` LEFT JOIN `modx_ms2_products` `Data` ON `msProduct`.`id` =  `Data`.`id` LEFT JOIN `modx_ms2_vendors` `Vendor` ON Data.vendor=Vendor.id WHERE  ( `msProduct`.`class_key` = 'msProduct' AND `msProduct`.`parent` IN (3,4,5,6,7,8,9,10,38,50,56,57,58,59,60,61,62,11,39,40,41,45,51,52,53,54,55) AND `msProduct`.`published` = 1 AND `msProduct`.`deleted` = 0 AND `msProduct`.`isfolder` = 0 )  GROUP BY msProduct.id ORDER BY msProduct.id ASC "
0.0012310: SQL executed
0.0000100: Rows fetched
0.1949341: Total time
4 194 304: Memory usage
0.0000858: Fetched ids for building filters: "11,39,40,41,45,51,52,53,54,55" from element "msProducts"
0.0000041: Total number of results: 10
0.0000010: Getting filters for ids: "11,39,40,41,45,51,52,53,54,55"
0.0002840: Fired paginator: "pdoPage"
0.0000060: Filters retrieved
0.0011280: Loaded "modChunk" with name "tpl.mFilter2.filter.checkbox"
0.0011151: Loaded "modChunk" with name "tpl.mFilter2.filter.outer"
0.0026190: Loaded "modChunk" with name "tpl.mFilter2.filter.number"
0.0004799: Filters templated
0.0000060: Total filter operations: 2
0.2800980: Total time
6 291 456: Memory usage
Заранее спасибо за советы и помощь.
26 сентября 2016, 15:07    Игорь   
0    271 0

Комментарии (0)

    Вы должны авторизоваться, чтобы оставлять комментарии.