Skip to content

plone.formwidget.contenttree should not convert all queries to list #7

Open
@bdbaddog

Description

@bdbaddog

Original author: [email protected] (March 28, 2012 03:15:41)

What steps will reproduce the problem?

  1. When supply a search query in PathSourceBinder, say, a range search in a dict format: {'query': 1, 'range': 'min'}, this query is converted to list of dict.

What is the expected output? What do you see instead?
Such query will not give any catalog search result.

What version of the product are you using? On what operating system?
Latest trunk with Plone 4.1.

Please provide any additional information below.
The CustomFilter class in source.py converts any non-path query to list. I think its better to leave dict out and don't change dict to a list of dict. So we can still use more advanced search, like, range search, 'and' search.

Original issue: http://code.google.com/p/dexterity/issues/detail?id=265

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions