about summary refs log tree commit diff stats
path: root/ui-tree.c
diff options
context:
space:
mode:
authorLars Hjemli2007-11-03 10:42:37 +0100
committerLars Hjemli2007-11-03 10:42:37 +0100
commit51140311bb3b0d4d0e859d5045ffe4c74478f5fe (patch)
tree6575f174e32abd5f5d1f481e5f7f5978525ae416 /ui-tree.c
parentFix typo in css (diff)
downloadcgit-51140311bb3b0d4d0e859d5045ffe4c74478f5fe.tar.gz
cgit-51140311bb3b0d4d0e859d5045ffe4c74478f5fe.zip
Add search parameters to cgit_log_link
This makes the [prev] and [next] links work correctly on search results.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-tree.c')
-rw-r--r--ui-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-tree.c b/ui-tree.c index d6bcec3..c22e30b 100644 --- a/ui-tree.c +++ b/ui-tree.c
@@ -100,7 +100,7 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
100 100
101 html("<td>"); 101 html("<td>");
102 cgit_log_link("log", NULL, "button", cgit_query_head, curr_rev, 102 cgit_log_link("log", NULL, "button", cgit_query_head, curr_rev,
103 fullpath, 0); 103 fullpath, 0, NULL, NULL);
104 html("</td></tr>\n"); 104 html("</td></tr>\n");
105 free(name); 105 free(name);
106 return 0; 106 return 0;