Virtual column can't be used for search, empty result returned

Description

use case: add virtual column e.g m_product_po, search key and name for product.
try search, empty result.

fix/patch attached.

Environment

4.1 latest

Activity

Show:
Norbert Bede
June 26, 2017, 1:45 PM

pls review and commit. works in production some weeks.

Carlos Ruiz
October 13, 2017, 2:45 PM

Hi Norbert, I committed a different solution -> avoid adding UPPER in FindWindow for virtual columns.

I think the approach of changing equals by contains is risky - there could be a case with two virtual columns where one is contained in the other - for example:
Virtual1 - Name2
Virtual2 - Name

when resolving the first virtual1 column "Name2" contains the columnname of the second "Name".

Assignee

Carlos Ruiz

Reporter

Norbert Bede

Labels

None

Tested By

Norbert Bede

Components

Priority

Major
Configure