Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/views/show-ls.tt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!-- beginning of module -->

<%
l2d_qci = qci | html_entity;
l2d_q = search | html_entity;
l2d_qd = item.distro | html_entity;
l2d_qft = qft | html_entity;
l2d_qls = qls | html_entity;
l2d_qifl = qifl | html_entity;
l2d_qci = qci | uri;
l2d_q = search | uri;
l2d_qd = item.distro | uri;
l2d_qft = qft | uri;
l2d_qls = qls | uri;
l2d_qifl = qifl | uri;

SET link_to_distro = "/search?qci=${l2d_qci}&amp;q=${l2d_q}&amp;qft=${l2d_qft}&amp;qd=${l2d_qd}&amp;qls=${l2d_qls}&amp;qifl=${l2d_qifl}";
SET link_withmatch = "/search?qci=${l2d_qci}&amp;q=${l2d_q}&amp;qft=${l2d_qft}&amp;qd=${l2d_qd}&amp;qls=0&amp;qifl=${l2d_qifl}";
Expand All @@ -28,7 +28,7 @@

<% FOREACH match IN item.matches %>
<p class="description">
<a class="author" href="<% link_withmatch %>&amp;f=<% match.file | html_entity %>" title="grep on this file"><% match.file %></a>
<a class="author" href="<% link_withmatch %>&amp;f=<% match.file | uri %>" title="grep on this file"><% match.file %></a>
</p>
<% END %>

Expand Down
2 changes: 1 addition & 1 deletion src/views/show-search.tt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
l2d_q = search | uri;
l2d_qd = item.distro | uri;
l2d_qft = qft | uri;
l2d_qifl = qifl | html_entity;
l2d_qifl = qifl | uri;

SET link_to_distro = "/search?qci=${l2d_qci}&amp;q=${l2d_q}&amp;qft=${l2d_qft}&amp;qd=${l2d_qd}&amp;qifl=${l2d_qifl}";
%>
Expand Down
Loading