diff --git a/resource/schemas/UNIT3D/getSearchResult.js b/resource/schemas/UNIT3D/getSearchResult.js index bca1bce5e..5054ba464 100644 --- a/resource/schemas/UNIT3D/getSearchResult.js +++ b/resource/schemas/UNIT3D/getSearchResult.js @@ -10,6 +10,7 @@ options.isLogged = true; this.haveData = true; + this.site = options.site; } /** @@ -213,6 +214,10 @@ * @param {*} row */ getSubTitle(title, row) { + let subTitle = Searcher.getFieldValue(this.site, row, "subTitle"); + if (subTitle) { + return subTitle; + } return ""; } diff --git a/resource/sites/monikadesign.uk/config.json b/resource/sites/monikadesign.uk/config.json index 94c60f77b..ef1260a2c 100644 --- a/resource/sites/monikadesign.uk/config.json +++ b/resource/sites/monikadesign.uk/config.json @@ -45,6 +45,11 @@ "collaborator": "fzlins", "searchEntryConfig": { "merge": true, - "resultSelector": "#torrent-list-table" + "resultSelector": "#torrent-list-table", + "fieldSelector": { + "subTitle": { + "selector": ["td.torrent-listings-overview span:first"] + } + } } } \ No newline at end of file