list_articles not fetching when topic name contains number
  • Hi,

    I'm using CS 3.3, and I have problems with fetching articles with topics that contain numbers in their name:

    {{ list_articles constraints="topic is topic\ name\ 1:en" }}
    ...
    {{ /list_articles}}

    I've tried to change topic name to something that has no number in it, and then it all works fine, but I need numbers in topic names because I'm using them to mark a year.

    I've also tried something like

    {{ assign var="topic_name" value="topic name 1:en" }}
    {{ list_articles constraints="topic is `$topic_name`" }}
    ...
    {{ /list_articles}}

    but no luck...

    Do I need to escape numbers somehow, or...?

    Thanks in advance.
  • 1 Comment sorted by
  • Found a workaround:

    {{ local }}
    {{ set_topic name="topic\ name\ 1:en" }}
    {{ list_articles }}
    ...
    {{ /list_articles }}
    {{ /local }}


    but I'd stil like to know what was the problem here...