--- a/templates/gitweb/shortlog.tmpl
+++ b/templates/gitweb/shortlog.tmpl
@@ -10,8 +10,8 @@
</div>
<form action="{url}log">
+{sessionvars%hiddenformentry}
<div class="search">
-<input type="hidden" name="style" value="gitweb" />
<input type="text" name="rev" />
</div>
</form>