After upgrading to 6.5.2, my group has continued to use 5.7-style Content List resources for generating content lists. But I’m trying to move us away from that. However, the first one I’ve built is trying to publish all my content items of a given type even though they are in Author state.
My Content List looks like this:name: My_List
Edition Type: Automatic
Generator: sys_SearchGenerator[INDENT]query: select rx:sys_contentid, rx:sys_folderid from rx:My_ContentType
Template Expander: sys_SiteTemplateExpandersiteid:
Item Filter: public
I would assume that this content list should return an empty list, since all my items of the My_ContentType type are in the Author state (states.contentvalid = i), but instead, I get a list with all the items of the given type.
I tried adding &valid=y to the URL but that didn’t help.
Now, I’m wondering if the default Item Filters are set up for a different set of contentvalid values in the States table… My group uses i, d, s, y and n (ignore, development, staging, publish, and archive respectively)… maybe the Item Filters don’t even look in the States table…
I can’t find any documentation regarding building your own or replacing/editing the Item Filters.
Ideally, I’d want to set up filters something like:
development: returns items in the d, s and y validity states.
staging: returns items in the s and y validity states.
publish: returns only items in the y validity state.
unpublish: returns items in the n validity state.
Does anyone have any ideas, or has anyone had experience with somethign like this?
Thanks in advance,
– Sam Rushing, AutoTrader.com