Title: Problem with post method and filter date
Last modified: March 10, 2021

---

# Problem with post method and filter date

 *  [renpersonal](https://wordpress.org/support/users/renpersonal/)
 * (@renpersonal)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/problem-with-post-method-and-filter-date/)
 * Hi Peter, great plugin.
    The filters for a publisher only work whith GET method,
   but non with POST Method. In option GET works whith all columns, but no apply
   any filter for date column. Any suggestion?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/problem-with-post-method-and-filter-date/#post-14163838)
 * Hi [@renpersonal](https://wordpress.org/support/users/renpersonal/),
 * >>> The filters for a publisher only work whith GET method, but non with POST
   Method.
 * That is correct! The publisher uses javascript which does not have access to 
   posted variables. How important is this to you? It can be done (with PHP)…
 * >>> In option GET works whith all columns, but no apply any filter for date column.
 * The filter does not work with date fields as there are so many date and time 
   formats and variations. If you have a good implemention idea, I’m listening! 
   🙂
 * Alternatively, you can create a view, convert it to a string and search on your
   string. You won’t be able to use indexes, but you can use wildcards on your dates…
   😉
 * Best regards,
    Peter
 *  Thread Starter [renpersonal](https://wordpress.org/support/users/renpersonal/)
 * (@renpersonal)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/problem-with-post-method-and-filter-date/#post-14163992)
 * Hi Peter, no problem to use GET method.
    About filter date, I did not mean the
   search field. My problem is, when i add a parameter to filter in a date column
   using shortcode method (wpdataaccess pub_id=”1″ filter_field_n…), it’s ok, but
   with url method nothing happens, however, others no date columns in url method
   filter correctly.
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problem-with-post-method-and-filter-date/#post-14173214)
 * Hi [@renpersonal](https://wordpress.org/support/users/renpersonal/),
 * You are right, the data field is not taken into account with URL parameters. 
   It allows text and numeric values only. Have you tried to create a view and convert
   the date column to text? That should work! I think… 😉
 * Let me know,
    Peter

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with post method and filter date’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/problem-with-post-method-and-filter-date/#post-14173214)
 * Status: not resolved