File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -660,30 +660,6 @@ class Browser extends DashboardView {
660
660
query . ascending ( field )
661
661
}
662
662
663
- if ( field !== 'objectId' ) {
664
- if ( sortDir === '-' ) {
665
- query . addDescending ( 'objectId' ) ;
666
- } else {
667
- query . addAscending ( 'objectId' ) ;
668
- }
669
- }
670
-
671
- const classes = await Parse . Schema . all ( ) ;
672
- const schema = classes . find ( c => c . className === this . props . params . className ) ;
673
-
674
- const fieldKeys = Object . keys ( schema . fields )
675
- for ( let i = 0 ; i < fieldKeys . length ; i ++ ) {
676
- const schemaKey = fieldKeys [ i ] ;
677
- const schVal = schema . fields [ schemaKey ] ;
678
- if ( schVal . type === 'Pointer' ) {
679
- const defaultPointerKey = await ColumnPreferences . getPointerDefaultKey ( this . context . currentApp . applicationId , schVal . targetClass ) ;
680
- if ( defaultPointerKey !== 'objectId' ) {
681
- query . include ( schemaKey ) ;
682
- query . select ( schemaKey + '.' + defaultPointerKey ) ;
683
- }
684
- }
685
- }
686
-
687
663
query . limit ( MAX_ROWS_FETCHED ) ;
688
664
this . excludeFields ( query , source ) ;
689
665
You can’t perform that action at this time.
0 commit comments