Seite 1 von 1

multiple categories (bug?)

Verfasst: Di 12. Mai 2009, 15:09
von ikbenivo
Is it a bug or am I doing something wrong here:
when I try to use multiple categories in a listview it shows..no objects. When I only use one category it shows the correct objects.

For example:

This doens't work:

Code: Alles auswählen

<we:listview type="object" name="test" rows="25" classid="1" categories="/tentoonstellingen/nu, /tentoonstellingen/binnenkort">
This does work:

Code: Alles auswählen

<we:listview type="object" name="test" rows="25" classid="1" categories="/tentoonstellingen/nu">

Re: multiple categories (bug?)

Verfasst: Di 12. Mai 2009, 15:32
von Dirk Einecke
Hi,

do not use a space after the comma at the "categories" value.

greetings
Dirk Einecke

Re: multiple categories (bug?)

Verfasst: Di 12. Mai 2009, 16:10
von ikbenivo
tried that. No difference.

Re: multiple categories (bug?)

Verfasst: Di 12. Mai 2009, 16:37
von Dirk Einecke
Hi,

if you set two or more categories for the attribute "categories" the listet objects must have all the categories. If you want to list objects from categorie A OR categorie B you must set the attribute catOr="true".

greetings
Dirk Einecke

Re: multiple categories (bug?)

Verfasst: Mi 13. Mai 2009, 10:18
von ikbenivo
thanks. That did the trick