Rinser/plugins/filter_glasgow.js
Martin Donnelly 0d8a6ef84f fixed plugins
2016-08-17 15:36:28 +01:00

8 lines
220 B
JavaScript

module.exports = function (item, itemOptions, source) {
if(itemOptions.description.indexOf('Glasgow') > 0 || itemOptions.description.indexOf('London') > 0)
return itemOptions;
else
return -1;
};