• Hello,

    I have implemented a simple extension to the plugin, where you can filter out Nonstarred entries, too. In my use case, I need to list out Nonstarred entries as well and this could be useful to other people out there.

    The changes are in the data.php file, in two locations:

    Line 177 – add

       $sql_star="SELECT count(distinct l.id) FROM {$leads} l where $search and l.is_star=0 and l.status=0";
       $res['nonstarred']= $wpdb->get_var($sql_star); 
    

    Line 251 – add

    	
    if($status == 'nonstarred'){
     $search.=' and l.is_star =0'; 
    }

    That is all, after this, you will be able to list out nonstarred entries as well. I would be happy if you included this feature in the new versions of this plugin.

  • The topic ‘Pull Request: the ability to list Nonstarred entries’ is closed to new replies.