• 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

    (@peterschulznl)

    Hi @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

    (@renpersonal)

    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

    (@peterschulznl)

    Hi @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.