]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/search.tmpl
Some misc fixes
[deb/packages.git] / templates / html / search.tmpl
index 6425cbfc76013d48682ff577dad561dca7d0bf68..74171b252818d875bcea36b3c83f222a0604d81b 100644 (file)
@@ -8,8 +8,7 @@
        suite => params.values.suite.no_replace.join(','),
        architectures => params.values.arch.no_replace.join(','),
        sections => params.values.section.no_replace.join(','),
-    };
-
+    }
    navigation = [ { name => 'Package Search Results' } ]
 -%]
 
@@ -100,7 +99,7 @@ Please consider using a longer keyword or more keywords.</p>
   [% FOREACH origins %]
      [% origin = (archive == main_archive) ? suite : "$suite/$archive";
        js_id = string2id("$pkg$suite$archive")  %]
-    <li><a class="resultlink" href="[% make_url(pkg,'','source','source','suite',origin) %]">[% origin %]</a> ([% subsection %]): [% version %]
+    <li><a class="resultlink" href="[% make_url(pkg,'','source','source','suite',origin,'section','','arch','') %]">[% origin %]</a> ([% subsection %]): [% version %]
       [%- IF section %] [<strong class="pmarker">[% section %]</strong>][% END %]
       [%- IF real_archive %] [<strong class="pmarker">[% real_archive %]</strong>][% END %]
     <br>Binary packages: <span id="js_[% js_id %]" class="p_js_elem"></span> <span id="html_[% js_id %]" class="binaries">[% FOREACH binary IN binaries %]<a href="[% make_url(binary,'','source','','suite',suite,'archive',archive) %]">[% binary %]</a>[% ', ' UNLESS loop.last %][% END %]</span>
@@ -115,7 +114,7 @@ Please consider using a longer keyword or more keywords.</p>
 [% END %]
 
 [% IF skipped %]
-  <p><a href="[% make_search_url('',"keywords=$keywords",'exact', 0) %]">[% skipped %]</a> results have not been displayed because you requested only exact matches.
+  <p><a href="[% make_search_url('',"keywords=$keyword_esc",'exact', 0) %]">[% skipped %]</a> results have not been displayed because you requested only exact matches.
 [% END %]
 
 </div>