[WEB-2628] fix: Sorting by estimates (#5988)

* fix estimates sorting in Front end side

* change estimate sorting keys

* - Fix estimate sorting when local db is enabled
- Fix a bug with with sorting on special fields on spreadsheet layout
- Cleanup logging

* Add logic for order by based on layout for special cases of no load

---------

Co-authored-by: Satish Gandham <satish.iitg@gmail.com>
This commit is contained in:
rahulramesha 2024-11-13 15:38:43 +05:30 committed by GitHub
parent 8c3189e1be
commit f44db89f41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 96 additions and 35 deletions

View file

@ -300,6 +300,7 @@ export class Storage {
const { cursor, group_by, sub_group_by } = queries;
const query = issueFilterQueryConstructor(this.workspaceSlug, projectId, queries);
log("#### Query", query);
const countQuery = issueFilterCountQueryConstructor(this.workspaceSlug, projectId, queries);
const start = performance.now();
let issuesRaw: any[] = [];