--- a/views/results.tpl
+++ b/views/results.tpl
@@ -16,7 +16,7 @@
 %include pages query=query, config=config, nres=nres
 <div id="results">
 %for i in range(0, len(res)):
-    %include result d=res[i], i=i, query=query, config=config,
+    %include result d=res[i], i=i, query=query, config=config, query_string=query_string, hasrclextract=hasrclextract
 %end
 </div>
 %include pages query=query, config=config, nres=nres