(fix) don't always fetch the sorting columns

pull/246/head
Ludovic Marcotte 2018-11-29 11:13:55 -05:00
parent f8ed698182
commit be4ace2af7
2 changed files with 3 additions and 1 deletions

1
NEWS
View File

@ -12,6 +12,7 @@ Bug fixes
- [web] fixed handling of duplicate recipients (#4597)
- [web] fixed folder export when XSRF validation is enabled (#4502)
- [web] don't encode filename extension when exporting folders
- [core] don't always fetch the sorting columns
4.0.4 (2018-10-23)
------------------

View File

@ -464,7 +464,8 @@ static GCSStringFormatter *stringFormatter = nil;
sortOrderingsList = [sortOrderings objectEnumerator];
while ((ordering = [sortOrderingsList nextObject]))
{
[allFields addObject: [ordering key]];
if (![allFields containsObject: [ordering key]])
[allFields addObject: [ordering key]];
}
}
requirement = [self _tableRequirementForFields: allFields