Explorar o código

More search tweaks la la la la.

default %!s(int64=2) %!d(string=hai) anos
pai
achega
c2c0f3b39b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -2578,7 +2578,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
                 else
                 else
                     title = xs_fmt(L("Nothing found for '%s'"), q);
                     title = xs_fmt(L("Nothing found for '%s'"), q);
 
 
-                *body   = html_timeline(&snac, tl, 0, skip, tl_len, tl_len > 0, title, page, 1);
+                *body   = html_timeline(&snac, tl, 0, skip, tl_len, tl_len == show, title, page, 1);
                 *b_size = strlen(*body);
                 *b_size = strlen(*body);
                 status  = 200;
                 status  = 200;
             }
             }