← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 715773] Re: [6.0] web client should use exact match search (=) for searching on fields.selection

 

** Also affects: openobject-client-web/6.0
   Importance: Undecided
       Status: New

** Also affects: openobject-client-web/trunk
   Importance: Low
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
       Status: Fix Committed

** Changed in: openobject-client-web/6.0
   Importance: Undecided => Low

** Changed in: openobject-client-web/6.0
       Status: New => Fix Committed

** Changed in: openobject-client-web/6.0
     Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)

** Changed in: openobject-client-web/6.0
    Milestone: None => 6.0.2

** Changed in: openobject-client-web/trunk
    Milestone: 6.0.2 => None

** Changed in: openobject-client-web/trunk
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/715773

Title:
  [6.0] web client should use exact match search (=) for searching on
  fields.selection

Status in OpenERP Web Client:
  Fix Released
Status in OpenERP Web Client 6.0 series:
  Fix Committed
Status in OpenERP Web Client trunk series:
  Fix Released

Bug description:
  When you perform a search on a selection field in the web client, the generated expression doesn't use the correct operator "=" but "ilike"
  it should be:
  [('state', '=', 'draft')]
  instead of
  [('state', 'ilike', 'draft')]

  First it is not correct and secondly, it's breaking the use of the
  indexes.



References