[WEB-2889] fix: global views sorting when hyper model is enabled. (#6280)

This commit is contained in:
Prateek Shourya 2024-12-27 13:03:26 +05:30 committed by GitHub
parent 2f2f8dc5f4
commit 4159d12959
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -297,6 +297,7 @@ export abstract class BaseIssuesStore implements IBaseIssuesStore {
// Temporary code to fix no load order by
if (
this.rootIssueStore.rootStore.user.localDBEnabled &&
this.rootIssueStore.rootStore.router.projectId &&
layout !== EIssueLayoutTypes.SPREADSHEET &&
orderBy &&
Object.keys(SPECIAL_ORDER_BY).includes(orderBy)