Всем привет.
Не могу разобраться в причинах некорректной работы фильтра товаров. После изменения цены в фильтре товаров через ajax отправляется запрос, а в ответе result="", хотя total выдает корректное значение. Например, "Всего результатов: 3".
В файле, к которому идет запрос результат получается следующим образом:
$results = $modx->runSnippet($mSearch2->config['paginator'], $paginatorProperties);
Где
$mSearch2->config['paginator'] = 'pdoPage'
$paginatorProperties :
spoilerArray
(
[plPrefix] =>
[limit] => 12
[maxLimit] => 100
[offset] =>
[page] =>
[pageVarKey] => page
[totalVar] => page.total
[pageLimit] => 7
[element] => mSearch2
[pageNavVar] => page.nav
[pageCountVar] => pageCount
[pageLinkScheme] =>
[tplPage] => @INLINE <li><a href="[[+href]]">[[+pageNo]]</a></li>
[tplPageWrapper] => @INLINE <div class="pagination"><ul class="pagination">[[+first]][[+prev]][[+pages]][[+next]][[+last]]</ul></div>
[tplPageActive] => @INLINE <li class="active"><a href="[[+href]]">[[+pageNo]]</a></li>
[tplPageFirst] => @INLINE <li class="control"><a href="[[+href]]">[[%pdopage_first]]</a></li>
[tplPageLast] => @INLINE <li class="control"><a href="[[+href]]">[[%pdopage_last]]</a></li>
[tplPagePrev] => @INLINE <li class="control"><a href="[[+href]]">«</a></li>
[tplPageNext] => @INLINE <li class="control"><a href="[[+href]]">»</a></li>
[tplPageSkip] => @INLINE <li class="disabled"><span>...</span></li>
[tplPageFirstEmpty] => @INLINE <li class="disabled"><span>[[%pdopage_first]]</span></li>
[tplPageLastEmpty] => @INLINE <li class="disabled"><span>[[%pdopage_last]]</span></li>
[tplPagePrevEmpty] => @INLINE <li class="disabled"><span>«</span></li>
[tplPageNextEmpty] => @INLINE <li class="disabled"><span>»</span></li>
[cache] =>
[cacheTime] => 0
[cacheAnonymous] =>
[toPlaceholder] =>
[ajax] => 0
[ajaxMode] =>
[ajaxElemWrapper] => #pdopage
[ajaxElemRows] => #pdopage .rows
[ajaxElemPagination] => #pdopage .pagination
[ajaxElemLink] => #pdopage .pagination a
[ajaxElemMore] => #pdopage .btn-more
[ajaxTplMore] => @INLINE <button class="btn btn-default btn-more">[[%pdopage_more]]</button>
[ajaxHistory] =>
[frontend_js] =>
[frontend_css] =>
[setMeta] => 1
[strictMode] => 0
[paginator] => pdoPage
[sort] =>
[filters] =>
tv|price:number,
tv|params:default,
[aliases] =>
[showEmptyFilters] => 1
[resources] => 149,150,151
[parents] => 0
[depth] => 10
[tplOuter] => tpl.mFilter2.outer
[tplFilter.outer.default] => tpl.mFilter2.filter.outer
[tplFilter.row.default] => tpl.mFilter2.filter.checkbox
[showHidden] => 1
[showDeleted] =>
[showUnpublished] =>
[hideContainers] =>
[showLog] =>
[fastMode] =>
[suggestions] => 1
[suggestionsMaxFilters] => 200
[suggestionsMaxResults] => 1000
[suggestionsRadio] =>
[toPlaceholders] =>
[toSeparatePlaceholders] =>
[filter_delimeter] => |
[method_delimeter] => :
[values_delimeter] => ,
[tpls] =>
[forceSearch] =>
[fields] =>
[onlyIndex] =>
[onlyAllWords] =>
[showSearchLog] =>
[filterOptions] =>
[includeTVs] => img,gallery,price,oldprice
[bsClass] => col-md-4 col-sm-6 col-xs-12
[processTVs] => 1
[tplFilter.outer.tv|price] => tpl.mFilter2.filter.slider
[tplFilter.row.tv|price] => tpl.mFilter2.filter.number
[defaultSort] =>
[start_limit] => 12
[sortby] =>
[sortdir] =>
)
В чем может быть проблема?