Custom Popup Query

I’m trying to figure out how to create a custom search query in the Contacts popup. So far I have only found this post:

http://stackoverflow.com/questions/29285938/how-i-can-customize-query-in-view-popup-in-sugarcrm

I put my new file in custom/modules/Contacts/views/view.popup.php. When I open the popup the functions CustomContactsViewPopup and preDisplay are called but not the listViewProcess. It seems that other people can’t get this way to work with suiteCRM either.

Is there a way to customize my query for a popup?