#NEWLINE# def get_status( self , **kw ) : #NEWLINE# #INDENT# 'Extends :meth:`lino.core.requests.ActorRequest.get_status`.\n\n        ' #NEWLINE# kw = ActionRequest . get_status ( self , ** kw ) #NEWLINE# bp = kw [ 'base_params' ] #NEWLINE# if self . quick_search : #NEWLINE# #INDENT# bp [ constants . URL_PARAM_FILTER ] = self . quick_search #NEWLINE# #UNINDENT# if self . order_by : #NEWLINE# #INDENT# sort = self . order_by [ 0 ] #NEWLINE# if sort . startswith ( '-' ) : #NEWLINE# #INDENT# sort = sort [ 1 : ] #NEWLINE# bp [ constants . URL_PARAM_SORTDIR ] = 'DESC' #NEWLINE# #UNINDENT# bp [ constants . URL_PARAM_SORT ] = sort #NEWLINE# #UNINDENT# if self . known_values : #NEWLINE# #INDENT# for ( k , v ) in list ( self . known_values . items ( ) ) : #NEWLINE# #INDENT# if ( self . actor . known_values . get ( k , None ) != v ) : #NEWLINE# #INDENT# bp [ k ] = v #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if ( self . master_instance is not None ) : #NEWLINE# #INDENT# if isinstance ( self . master_instance , models . Model ) : #NEWLINE# #INDENT# bp [ constants . URL_PARAM_MASTER_PK ] = self . master_instance . pk #NEWLINE# if settings . SITE . is_installed ( 'contenttypes' ) : #NEWLINE# #INDENT# from django.contrib.contenttypes.models import ContentType #NEWLINE# mt = ContentType . objects . get_for_model ( self . master_instance . __class__ ) . pk #NEWLINE# bp [ constants . URL_PARAM_MASTER_TYPE ] = mt #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# bp [ constants . URL_PARAM_MASTER_PK ] = kw . master_instance #NEWLINE# #UNINDENT# #UNINDENT# return kw