sharpec
October 30, 2018, 4:22pm
#1
Sorry for question but,
There is a limit in timeline view?
On issue footer, in Support module, I have various comment, mail and system messages. But disappear 3 month oldest comment.
There is a limit in max number of comment ( example 30).
Comment exist in DB
Thankyou
sharpec
October 31, 2018, 7:37am
#2
Explain the issue…
if check db with query
SELECT * FROM 1bd3e0294d.tabCommunication where reference_name=“NCR3818”;
return 37 row, a mix of various comment_type
like Submitted, Workflow, Comment, Email
(NCR3818 is the name of support issue)
but on web only show 31 “comment”
Nimrod
March 4, 2020, 3:13pm
#4
Were you able to solve this @sharpec ?
Nimrod
March 4, 2020, 5:03pm
#5
I ended up having to change the following condition:
.filter(a => a.content)
.sort((b, c) => me.compare_dates(b, c))
.forEach(d => {
d.frm = me.frm;
me.render_timeline_item(d);
});
me.display_automatic_link_email();
// more btn
if (this.more===undefined && timeline.length===20) {
this.more = true;
}
if (this.more) {
$('<div class="timeline-item">\
<button class="btn btn-default btn-xs btn-more">More</button>\
</div>').appendTo(me.list);
}
// created
Into:
// more btn
if (this.more!==false && communications.length>=20) {
this.more = true;
}