{"id":734,"date":"2011-02-15T13:47:59","date_gmt":"2011-02-15T11:47:59","guid":{"rendered":"http:\/\/www.trirand.com\/blog\/?p=734"},"modified":"2011-04-09T19:00:06","modified_gmt":"2011-04-09T16:00:06","slug":"jqgrid-filter-module-rewrite","status":"publish","type":"post","link":"https:\/\/www.trirand.com\/blog\/?p=734","title":{"rendered":"jqGrid Filter module rewrite"},"content":{"rendered":"<p>Hello all,<br \/>\nAfter many requests and of course the problems which causes current search module we have made a decision to rewrite them.<br \/>\nThis actually is not standard task, because all existing features should be saved.<br \/>\nI can not guarantee  that 100% of the existing features will be available, but we will do our best to save them<br \/>\nThree more important thing are the goal of this rewrite:<\/p>\n<ol>\n<li>We do not more will use jQuery clone function to create new row (the most important) , but after every change the filter will be recreated using the functions from common grid module<\/li>\n<li>Again with the available standard search like by example:<br \/>\n&#8230;WHERE a=1 AND b=2<br \/>\nnow we can do more complex where clauses like this<br \/>\n &#8230; WHERE ( (a=1 AND b=2) OR c=3)<br \/>\nThis mean more than one group operator can be used.<\/p>\n<li>Implementing a checking modules for the data input in the filter\n<\/ol>\n<p>We have placed the code in <a href=\"https:\/\/github.com\/tonytomov\/jqGrid\/blob\/master\/js\/grid.filter.js\">GitHub<\/a>.<\/p>\n<p>Any comments, recommendations, fixes are welcome during the development of this plugin.<br \/>\nNote that it can be used separately.<\/p>\n<p>Kind Regards<br \/>\nTony  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello all, After many requests and of course the problems which causes current search module we have made a decision to rewrite them. This actually is not standard task, because all existing features should be saved. I can not guarantee that 100% of the existing features will be available, but we will do our best [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/734"}],"collection":[{"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=734"}],"version-history":[{"count":11,"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/734\/revisions"}],"predecessor-version":[{"id":792,"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/734\/revisions\/792"}],"wp:attachment":[{"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trirand.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}