action_data is stored in the db as a json array. If you are searching that unexpanded (and you know the number of licenses already) you could do something like this:
{$zid = $_items[0]['audio_distrib_lic_count']}
{assign var='search5' value='action_data like %"audio_distrib_lic_count":"'|cat:$zid|cat:'"%}
{jrCore_list module="jrAction" profile_id=$_profile_id search5=$search5 order_by="_item_id desc"}
But you probably don't know the number of licenses, so, does the audio_distrib_lic_count field exist of there are 0 licenses?
If it doesn't, you could just search for the existence of the field name:
{assign var='search5' value='action_data like %"audio_distrib_lic_count"%}
If it does, maybe another search for not like would work, although I haven't tried that.
{assign var='search5' value='action_data like %"audio_distrib_lic_count"%}
{assign var='search6' value='action_data not like %"audio_distrib_lic_count":"0"%}
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 04/10/14 10:59:14AM