Customize web portal list view invoices

Hi team,
does it possible to customize get_list_context method?
this method is used for invoices list on the portal view and I’d like to change this method from my custom application.
thanks for your answer.

Did you solve this? Currently working on this as well.