Skip to content
Permalink
Browse files

detail correction for last changes to sort result sorting switches

  • Loading branch information...
following5 committed Feb 13, 2016
1 parent 71f4e2a commit bff83c1aa337efb424bad7e5b96148e91143edbc
Showing with 13 additions and 11 deletions.
  1. +13 −11 htdocs/templates2/ocstyle/search.result.caches.tpl
@@ -117,9 +117,9 @@
{strip}
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bydistance&sortorder={if $sortby!='bydistance' || $sortorder=='desc'}asc{else}desc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<nobr>
{$distanceunit|escape}&nbsp;
{$distanceunit|escape}
{if $sortby=='bydistance'}
{if $sortorder=='desc'}&#x25B2;{else}&#x25BC;{/if}
&nbsp;{if $sortorder=='desc'}&#x25B2;{else}&#x25BC;{/if}
{/if}
</nobr></a>&nbsp;&nbsp;
{/strip}
@@ -131,17 +131,17 @@
<a href="search.php?queryid={$queryid}&showresult=1&sortby=byname&sortorder={if $sortby!='byname' || $sortorder=='desc'}asc{else}desc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
{t}Name{/t}
{if $sortby=='byname'}
{if $sortorder=='desc'}&#x25B2;{else}&#x25BC;{/if}
&nbsp;{if $sortorder=='desc'}&#x25B2;{else}&#x25BC;{/if}
{/if}</a>
</th>
<th width="90">
{if $creationdate}
{strip}
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bycreated&sortorder={if $sortby != 'bycreated' || $sortorder=='asc'}desc{else}asc{/if}{if $startat}&startat={$startat}{/if}">
<nobr>
{t}Listed since{/t}&nbsp;
{t}Listed since{/t}
{if $sortby=='bycreated'}
{if $sortorder=='desc' || $sortorder==''}&#x25B2;{else}&#x25BC;{/if}
&nbsp;{if $sortorder=='desc' || $sortorder==''}&#x25B2;{else}&#x25BC;{/if}
{/if}
</nobr></a>&nbsp;&nbsp;
{/strip}
@@ -152,18 +152,20 @@
<th width="90">
{strip}
{if $displayownlogs}
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bymylastlog&sortorder={if ($sortby!='bymylastlog' && $sortby!='bylastlog') || $sortorder=='asc'}desc{else}asc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bymylastlog&sortorder={if ($sortby!='bymylastlog' && $sortby!='bylastlog') || $sortorder=='desc'}asc{else}desc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<nobr>
{t}Own logs{/t}&nbsp;
{t}Own logs{/t}
{if $sortby=='bymylastlog'}
{if $sortorder=='desc'||$sortorder==''}&#x25B2;{else}&#x25BC;{/if}
&nbsp;{if $sortorder=='desc'||$sortorder==''}&#x25B2;{else}&#x25BC;{/if}
{/if}
</nobr></a>
{else}
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bylastlog&sortorder={if $sortorder=='asc'}desc{else}asc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bylastlog&sortorder={if $sortorder=='desc'}asc{else}desc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<nobr>
{t}Last logs{/t}&nbsp;
{if $sortby=='bylastlog'}{if $sortorder=='desc'||$sortorder==''}&#x25B2;{else}&#x25BC;{/if}{/if}</nobr></a>&nbsp;
{t}Last logs{/t}
{if $sortby=='bylastlog'}
&nbsp;{if $sortorder=='desc'||$sortorder==''}&#x25B2;{else}&#x25BC;{/if}
{/if}</nobr></a>&nbsp;
{/if}
{/strip}&nbsp;
</th>

0 comments on commit bff83c1

Please sign in to comment.
You can’t perform that action at this time.