Closed aldodelgado closed 11 years ago
AFAIK that's only for client-side filtering. This plugin is for server-side. You can take a look at the component to see how searching is done. If it doesnt fit your needs, the readme has an example of to create your own search method.
Ah ok that makes more sense now. I had a feeling Smart Filtering was only a client side feature. I just saw the way the words where being submitted and I thought there was something I changed. Thank you for the brief explanation.
Aldo Delgado
(786) 449-5989
www.aldodelgado.me (http://www.aldodelgado.me)
CONFIDENTIALITY STATEMENT: The information contained in this electronic communication, including any and all attachments and enclosures, may be privileged and is strictly confidential, intended solely for the use of the person(s) identified above to receive this communication. If you are not the person(s) identified above to receive this communication, you are hereby notified that you may not disclose, print, copy, disseminate, or otherwise use the information contained herein. If you are an employee or agent of the person(s) identified above to receive this communication and, as such, you have been authorized to deliver this communication to such person(s), you may disclose, print, copy, disseminate, or otherwise use the information contained in this communication solely for the purpose of such delivery. Unauthorized interception and/or use of this communication are/is strictly prohibited and may be punishable by law. If you have received this communication in error, please reply and notify the sender (only) of that fact and delete the communication, including any and all attachments and enclosures, from your computer or other electronic device on which you may have received this.
On Wednesday, September 25, 2013 at 1:43 PM, Tigran Gabrielyan wrote:
AFAIK that's only for client-side filtering. This plugin is for server-side. You can take a loot at the component to see how searching is done. If it doesnt fit your needs, the readme has an example of to create your own search method.
— Reply to this email directly or view it on GitHub (https://github.com/tigrang/cakephp-datatable/issues/35#issuecomment-25108641).
Np. Let me know if you need help implementing a custom search.
Not sure whats going on. I looked in the datatables documentation to make sure there wasn't something I had disabled or enabled like regex vs smart filtering. From what I can tell everything is as it should. However what I did notice was after each character entered in the search box a GET method is made. When I look at the call I notice that is not breaking up the words by the whitespace as smart filter should work, here s a screenshot http://cl.ly/image/3L3I1x0f1S2c. As you can see the first sSearch has both words rather then splitting them up. Any help would be gratefully appreciated.