Hey,
What you need to do is pretty simple. 🙂
So you have this field that is of type "select" and it takes data from "premium_projects". You need to tell engine what are the "criteria" that should be applied and get you a subset of records.
To do that, you need to take a look at "param" section of your field. There's a writeup on how to use parameters for select fields, to be found here.
Short version - set the field param to
premium_projects::Project Name;<your module common class name>Common::projects_crits
You can do that both in install file and you manually alter the database - table *_field in respective recordSet, where that field was added, row with that field, set param to said value.
Now the second part is very important - you need to create this method that you point in the param section. Of course, it should be placed in your module common part. All this method must do is to return an array with proper crits. Example code:
public static function projects_crits() {
return array('serial_products'=>true);
}
And this should give desired effect.
Kind regards,
Arek