Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(locations!=null && locations.length>0) {
- locations = locations.reduce(function(a,b){
- if(a.indexOf(b)<0) {
- if(b!=null) {
- a.push(b);
- }
- }
- return a;
- },[]
- );
- if(locations!=null && locations.length>0) {
- fe.push("AND",["custcol_tc_trans_po_store","anyof",[].concat(locations)]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement