diff --git a/src/elogd.c b/src/elogd.c index ced5f9a4..4bb652f5 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -11999,15 +11999,20 @@ void show_find_form(LOGBOOK * lbs) rsprintf(" / %s: ", loc("Show last")); + if (getcfg(lbs->name, "Show last default", str, sizeof(str))) + i = atoi(str); + else + i = 0; + rsprintf(" \n"); rsprintf("\n"); @@ -20719,7 +20724,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa /*---- display filters ----*/ disp_filter = isparam("ma") || isparam("ya") || isparam("da") || isparam("mb") || isparam("yb") - || isparam("db") || isparam("subtext"); + || isparam("db") || isparam("subtext") || isparam("last"); for (i = 0; i < lbs->n_attr; i++) if (isparam(attr_list[i]) && (attr_flags[i] & (AF_DATE | AF_DATETIME)) == 0) @@ -20761,6 +20766,11 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa rsprintf("
| %s: | ", loc("Restrict seach to last")); + rsprintf("%s %s |