Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2535 closed enhancement (wontfix)

in "advanced search" the "%", "IN" and "NOT IN" operators are not available

Reported by: lutra Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.5.0
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Awaiting user input: no

Description

tested with trunk under Ubuntu 9.10. Tested shapes, postgis and spatialite.

Buttons stay greyed out.

Change History (4)

comment:1 by jef, 14 years ago

Priority: major: does not work as expectedminor: annoyance
Type: bugenhancement

comment:2 by lutra, 14 years ago

Hi,

is the "%" the wildcard? if yes it is pretty important to have it for queries. The two unavailable operators are less important.

cheers

comment:3 by lutra, 14 years ago

Resolution: wontfix
Status: newclosed

The buttons have been removed from the advanced search... so the problem is somehow solved, but a doubt remains: why are available in the query builder and not here?

in reply to:  3 comment:4 by jef, 14 years ago

Replying to lutra:

The buttons have been removed from the advanced search... so the problem is somehow solved, but a doubt remains: why are available in the query builder and not here?

While the attribute table's advanced search uses the same dialog as the provider filters, the actual search is done with QgsSearchString, which doesn't implement IN. The subset strings you can set from the vector layer properties dialog are passed on to the providers and those can support IN.

Note: See TracTickets for help on using tickets.