#NEWLINE# def get_inbox_entries( request , inbox , hide_comments = False , entries_per_page = 20 , filter = False , view = None ) : #NEWLINE# #INDENT# entries = api . entry_get_entries ( request . user , inbox , inbox ) #NEWLINE# if ( filter and ( view is not None ) ) : #NEWLINE# #INDENT# entries = api . filter_entries ( request . user , entries , view . nick ) #NEWLINE# #UNINDENT# per_page = ( entries_per_page - ( len ( inbox ) - len ( entries ) ) ) #NEWLINE# return util . page_entries ( request , entries , per_page )