external/bbop.js
function _lock_map(field, id_list){
	var fixed_list = [];
	bbop.core.each(id_list,
		       function(item){
			   fixed_list.push(bbop.core.ensure(item, '"'));
		       });

	var base_id_list = '(' + fixed_list.join(' OR ') + ')';

	var ret_query = field + ':' + base_id_list;
	return ret_query;
	
    }
function _lock_map(field, id_list){
	var fixed_list = [];
	bbop.core.each(id_list,
		       function(item){
			   fixed_list.push(bbop.core.ensure(item, '"'));
		       });

	var base_id_list = '(' + fixed_list.join(' OR ') + ')';

	var ret_query = field + ':' + base_id_list;
	return ret_query;
	
    }
function _lock_map ( field , id_list ) { var fixed_list = [ ] ; bbop . core . each ( id_list , function ( item ) { fixed_list . push ( bbop . core . ensure ( item , '"' ) ) ; } ) ; var base_id_list = '(' + fixed_list . join ( ' OR ' ) + ')' ; var ret_query = field + ':' + base_id_list ; return ret_query ; }
Function to unwind and lock a list if identifiers onto a field.
Function to unwind and lock a list if identifiers onto a field .