Hi,
This is how Repurpose does that:
Locate in main.php a line similar to:
<?php if(osc_count_list_regions() > 0 ) { ?>
and replace it with:
<?php View::newInstance()->_exportVariableToView('list_regions', Search::newInstance()->listRegions('%%%%', '>=', 'region_name ASC') ) ;
if(osc_count_list_regions() > 0 ) { ?>
Regards