Results 1 to 6 of 6

Thread: [catalog 2] date filter problem

  1. #1
    User PaoloB's Avatar
    Join Date
    06-19-09.
    Location
    Italy
    Posts
    238

    Default [catalog 2] date filter problem

    Hi,
    i use Catalog 2
    I have create a data field and i have a filter in this information.

    The data format is d/m/Y
    The url of the filter is like
    Code:
    13-slash-11-slash-2009__12-slash-11-slash-2010.html
    This url not work.

    I have write
    Code:
    13-11-2009__12-11-2010.html
    and this work fine.

    Is possible that is little bug?!
    Paolo B.
    Contao ambassador
    ContaoCms.it - Sito di riferimento per la comunità italiana

  2. #2
    User PaoloB's Avatar
    Join Date
    06-19-09.
    Location
    Italy
    Posts
    238

    Default Re: [catalog 2] date filter problem

    The problem is also present in version 0.3.6/0.8.9
    Paolo B.
    Contao ambassador
    ContaoCms.it - Sito di riferimento per la comunità italiana

  3. #3
    User PaoloB's Avatar
    Join Date
    06-19-09.
    Location
    Italy
    Posts
    238

    Default Re: [catalog 2] date filter problem

    Any help?!
    Paolo B.
    Contao ambassador
    ContaoCms.it - Sito di riferimento per la comunità italiana

  4. #4
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: [catalog 2] date filter problem

    Hi PaoloB,
    can you test it with the SVN-Version -> http://code.google.com/p/typolight-cata ... e/checkout
    The strange thing is, that the catalog makes it with the core features (alias generating etc.) so i don't know where the Problem is..
    When this is also in the newest Version would it be great when you make a ticket there -> http://code.google.com/p/typolight-catalog/issues/list

    Than the developer can fix it.

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

  5. #5
    User PaoloB's Avatar
    Join Date
    06-19-09.
    Location
    Italy
    Posts
    238

    Default Re: [catalog 2] date filter problem

    Thanks for your suggestion, I will try
    Paolo B.
    Contao ambassador
    ContaoCms.it - Sito di riferimento per la comunità italiana

  6. #6
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: [catalog 2] date filter problem

    This is because a "slash /" is an illegal character in an alias, so it MUST be replaced. The reason your other dateformat works is because Contao is clever enough to realise that the dateformat you pass is in ISO. The slash format you originally pass is NOT URL safe. There are language strings (check default.php) where you can specify the translation of the special characters, so you can make it something else, other than slash...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •