popupdefs static/enforced criteria

I Solved the issue of the initial filter getting kicked out with a ‘whereStatement’=> “SQL Criteria here”,

custom\modules\<Parent Module>\metadata\popupdefs.php

     global $current_user;

     $this_Table = 'contacts_cstm';

     $popupMeta = array(
      // Custom Code
      'whereStatement'=> $this_Table.".wec_c = '1'",
      //

Thanks for getting me in the right direction with this post

1 Like