plugins - 在搜索文本字段中输入的文本未传入参数
问题描述
先感谢您,
我有自己的自定义后端插件,其中有员工列表,我还放置了搜索字段来搜索员工,当我在搜索文本字段中输入时,它正在执行链接,如
http://localhost/shopware_demo/backend/employee_plugin/reloadAssociation?_dc=111111111&id=1&association=employees&page=1&start=0&limit=20,但它没有附加在搜索文本字段中输入的文本参数,我检查了我所在的核心插件能够看到搜索文本的参数,例如
_dc: 11111111
page: 1
start: 0
limit: 20
sort: [{"property":"id","direction":"DESC"}]
filter: [{"property":"search","value":"new","operator":null,"expression":null}])
但就我而言,就像
_dc: 22222222
page: 1
start: 0
limit: 20
sort: [{"property":"id","direction":"DESC"}]
解决方案
您可能必须remoteFilter: true
在您的EmployeeStore
:https ://docs.sencha.com/extjs/4.1.3/#!/api/Ext.data.AbstractStore-cfg-remoteFilter 中定义
推荐阅读
- python - Python 中的 Selenium 超时异常
- facebook-graph-api - 谁能告诉我是否可以判断个人资料是否通过 PSID 验证?
- function - 在 Fortran 中将矩阵用作函数中的参数和子例程中的输出
- javascript - 无法解析从 xmlhttprequest.responseText 检索到的字典 [已解决]
- java - 如何防止 MockMvc 测试干扰单元测试?
- symfony - 覆盖控制器形式 Prestashop 1.7.7
- python - mha 脑肿瘤文件中的图像数据
- entity-framework - EF Core 的 lambda 表达式中无法识别的成员 ThenInclude 在 Extension 方法中
- serial-port - Qemu 连接到特定的访客 UART 设备
- reactjs - 使用 17.0.1 版本的 React App 中使用的调查 JS?