#NEWLINE# def get( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# if ( kwargs [ 'flag' ] == 'fields_and_aliases' ) : #NEWLINE# #INDENT# self . sort_fields_aliases = [ ( 'name' , 'by_name' ) , ( 'sku' , 'by_sku' ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( kwargs [ 'flag' ] == 'aliases' ) : #NEWLINE# #INDENT# self . sort_fields_aliases = [ ( 'name' , 'by_name' ) , ( 'sku' , 'by_sku' ) ] #NEWLINE# self . sort_fields = [ ] #NEWLINE# #UNINDENT# #UNINDENT# return super ( SortableItemListView , self ) . get ( request , * request , ** kwargs )