Log in | Register | Lost password

Bottom
Patch: Allow ';' to separate filter AND expressions.
  • Posted: 04.04.2007, 17:01
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I've just submitted a patch to the "Feature requests" section on SourceForge.

    Currently, AND conditions for a filter expression are separated by commas:

    filter=core.topic:ne:3,core.topic:ne:4

    To apply a filter to the home page, the whole filter line is places as "Arguments to start function" on the Settings panel. However, this field will split arguments on commas on it's own.

    To get around this I have modified Pagesetter to allow commas or semicolons to be used to separate filter expressions. The following is now the same as the above:

    filter=core.topic:ne:3;core.topic:ne:4

    I am open to a better solution.

Template courtesy of Designs By Darren.