show up to 100 search results
This commit is contained in:
parent
448fe2faf9
commit
882bcc3b33
1 changed files with 2 additions and 2 deletions
4
htmlui.c
4
htmlui.c
|
@ -1819,8 +1819,8 @@ page_search(http_connection_t *hc, const char *remain, void *opaque)
|
|||
ev[c++] = e;
|
||||
qsort(ev, c, sizeof(event_t *), eventcmp);
|
||||
|
||||
if(c > 25)
|
||||
c = 25;
|
||||
if(c > 100)
|
||||
c = 100;
|
||||
|
||||
memset(&day, -1, sizeof(struct tm));
|
||||
for(k = 0; k < c; k++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue