mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Sort threaded list correctly if replies are resubmitted
SVN revision: 448
This commit is contained in:
parent
89f3e78bf8
commit
5290f3b003
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.52 2003/03/25 19:55:15 midas
|
||||||
|
Sort threaded list correctly if replies are resubmitted
|
||||||
|
|
||||||
Revision 1.51 2003/03/25 16:08:46 midas
|
Revision 1.51 2003/03/25 16:08:46 midas
|
||||||
Fixed problem that uploading attachments on a reply deleted the original message
|
Fixed problem that uploading attachments on a reply deleted the original message
|
||||||
|
|
||||||
@ -8237,6 +8240,10 @@ LOGBOOK *lbs_cur;
|
|||||||
|
|
||||||
if (j < index)
|
if (j < index)
|
||||||
{
|
{
|
||||||
|
/* set date from current message, if later */
|
||||||
|
if (strcmp(msg_list[j].string, msg_list[index].string) < 0)
|
||||||
|
strcpy(msg_list[j].string, msg_list[index].string);
|
||||||
|
|
||||||
msg_list[index].lbs = NULL; // delete current message
|
msg_list[index].lbs = NULL; // delete current message
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user