Opened 16 years ago

Last modified 14 years ago

#1137 new enhancement

Ordering attribute table by two or more fields

Reported by: cdavilam Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Data Provider Version: Trunk
Keywords: Cc: cdavilam@…
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Currently attribute table can be sorted by only one column, which is not enough in many cases. It would be nice to be able to order table by two or more columns

Change History (9)

comment:1 by timlinux, 16 years ago

Priority: major: does not work as expectedminor: annoyance or enhancement

comment:2 by lutra, 15 years ago

Milestone: Version 1.0.3Version 1.2.0

comment:3 by pcav, 14 years ago

Summary: Ordering atribute table by two or more fieldsOrdering attribute table by two or more fields

comment:4 by pcav, 14 years ago

Milestone: Version 1.5.0Version 1.6.0

comment:5 by pcav, 14 years ago

Can't you get the desired result by sorting by the two or more columns one at a time?

in reply to:  5 comment:6 by cdavilam, 14 years ago

Replying to pcav:

Can't you get the desired result by sorting by the two or more columns one at a time?

No, it's not useful. Imagine a cadastre layer in which a municipality is divided in polygons and polygons in parcels. What I would need is to be able to select at the same time polygons and parcels and order the table first by polygons and then by parcels within each polygon. If you have only a few polygons in the municipality you can order by parcels and move up and down the table looking for some parcels of a given polygon, but it you have a lot of polygons you need to have all parcels of that given polygon together to find those you want.

comment:7 by pcav, 14 years ago

Still unclear: you can select what you want using the query builder, isn't it? To order by polygons and parcels, first order by parcels, then by polygons.

in reply to:  7 comment:8 by cdavilam, 14 years ago

Replying to pcav:

To order by polygons and parcels, first order by parcels, then by polygons.

Sorry, I don't see how to do it in the query builder.

comment:9 by cdavilam, 14 years ago

Cc: cdavilam@… added; cdavilam@… removed
Note: See TracTickets for help on using tickets.