[英]ONGRFilterBundle - Dynamic aggregate limit filters?
如何為每個定義為默認的過濾器增加10個選項。
ongr_filter_manager:
managers:
# ...
filters:
dynamic_attributes:
type: dynamic_aggregate
request_field: attributes
document_field: attributes>attributes.value
options:
name_field: attributes.name
show_zero_choices: false
這是文檔配置,我需要獲取所有選項,而不僅僅是10。
添加尺寸選項:
... options: name_field: attributes.name show_zero_choices: false size: 20
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.