diff --git a/doc/config.html b/doc/config.html index fd46d12c..ab46219d 100755 --- a/doc/config.html +++ b/doc/config.html @@ -1644,9 +1644,10 @@ ID display = TAG-$message id attributes, which are used for sorting. The first attribute in the list has the highest priority. Only if two entries have the same value in the first sort attribute, they are sorted according to the second sort - attribute and so on. The list of attributes may contain ID and - logbook, although ID makes only sense together with - other attributes. + attribute and so on. To the list of attributes one can add ID, + Date and logbook, although ID makes only sense + together with other attributes, since it is sorted as the primary + key anyhow.
+Starting from elog version 2.7.7, there now even a third way to do this. +With an additional line in the configuration file: + +Collapse tn last = 1 + +(in fact the default, but to be explicit), then when the thread is +ready to be marked as closed, select the "closed entry" icon when +writing the last entry. + +When the entries are viewed in "threaded" mode, then the closed entry +icon appears on the last entry; and when in "threaded, collapsed" mode, +then the closed entry icon appears in the one line that represents that +whole thread. +
No, but you can use any spell checker which works with your browser. Examples are diff --git a/src/elogd.c b/src/elogd.c index af665298..cb835f7f 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -19018,7 +19018,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa char *p, *pt1, *pt2, *slist, *svalue, *gattr, line[1024], iattr[256]; BOOL show_attachments, threaded, csv, xml, raw, mode_commands, expand, filtering, disp_filter, show_text, text_in_attr, searched, found, disp_attr_link[MAX_N_ATTR + 4], sort_attributes, show_att_column; - time_t ltime, ltime_start, ltime_end, now, ltime1, ltime2; + time_t ltime, ltime_start, ltime_end, now, ltime1, ltime2, entry_ltime; struct tm tms, *ptms; MSG_LIST *msg_list; LOGBOOK *lbs_cur; @@ -19721,7 +19721,13 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa sprintf(str, "%08d", message_id); strlcat(msg_list[index].string, str, sizeof(msg_list[index].string)); } else if (strieq(sort_attr[i], loc("Logbook"))) { - strlcpy(msg_list[index].string, msg_list[index].lbs->name, 256); + strlcat(msg_list[index].string, " ", sizeof(msg_list[index].string)); + strlcat(msg_list[index].string, msg_list[index].lbs->name, sizeof(msg_list[index].string)); + } else if (strieq(sort_attr[i], loc("Date"))) { + strlcat(msg_list[index].string, " ", sizeof(msg_list[index].string)); + entry_ltime = date_to_ltime(date); + sprintf(str, "%08d", entry_ltime); + strlcat(msg_list[index].string, str, sizeof(msg_list[index].string)); } } }