Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[print layouts ] table, field sorting does not work #35427

Closed
pigreco opened this issue Mar 28, 2020 · 2 comments · Fixed by #35432
Closed

[print layouts ] table, field sorting does not work #35427

pigreco opened this issue Mar 28, 2020 · 2 comments · Fixed by #35432
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@pigreco
Copy link
Sponsor Contributor

pigreco commented Mar 28, 2020

I have a table with over 4k rows, I add the table in the print composer and I sort it according to the data field (datetime), the sorting does not work.

I notice that to work I have to write a number greater than 4k in the main properties of the table (default is 30)

  • first (30 lines)

image

  • after (5k lines)

image

I attach vrt files:

dpc-covid19-ita-province.zip

how to replicate it:

  1. download .zip file;
  2. unzip it;
  3. dragAndDrop vrt file in the TOC;
  4. start the composer and add table;
  5. sort the table using the date field;

OSGeo4W64 Win 10

image

@pigreco pigreco added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Mar 28, 2020
@roya0045
Copy link
Contributor

Yeah sorting occurs on the filtered table and not the whole dataset before clipping. But this might be an easy fix, I'll see what I can do.

@roya0045
Copy link
Contributor

Just checked and everything is there already to implement this easily, I'll try to make something and test it this week if I get some free time to compile.

roya0045 added a commit to roya0045/QGIS_1 that referenced this issue Mar 30, 2020
roya0045 added a commit to roya0045/QGIS_1 that referenced this issue Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants