Skip to content
Snippets Groups Projects
Commit 6e28eb25 authored by echicken's avatar echicken :chicken:
Browse files

Defrig item titles - (thanks to nolageek for reporting this)

parent adefc30d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #236 passed
...@@ -116,7 +116,7 @@ load("http.js"); ...@@ -116,7 +116,7 @@ load("http.js");
const Item = function (i) { const Item = function (i) {
this.id = i.guid.length() ? i.guid[0].toString() : (i.id.length() ? i.id[0].toString() : ''); this.id = i.guid.length() ? i.guid[0].toString() : (i.id.length() ? i.id[0].toString() : '');
this.title = ''; // uh ... this.title = i.title.length() ? i.title[0].toString() : ''; // uh ...
this.date = i.pubDate.length() ? i.pubDate[0].toString() : (i.updated.length() ? i.updated[0].toString() : ''); this.date = i.pubDate.length() ? i.pubDate[0].toString() : (i.updated.length() ? i.updated[0].toString() : '');
this.author = i.author.length() ? i.author.toString() : ''; this.author = i.author.length() ? i.author.toString() : '';
this.body = i.description.length() ? i.description[0].toString() : (i.summary.length() ? i.summary[0].toString() : ''); this.body = i.description.length() ? i.description[0].toString() : (i.summary.length() ? i.summary[0].toString() : '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment