Skip to content
Permalink
Browse files

another correction for search result sort order switching

  • Loading branch information...
following5 committed Feb 19, 2016
1 parent a918ad4 commit fd8f214c414c80eb95852fe86e812031a6259c00
Showing with 2 additions and 2 deletions.
  1. +2 −2 htdocs/templates2/ocstyle/search.result.caches.tpl
@@ -152,15 +152,15 @@
<th width="90">
{strip}
{if $displayownlogs}
<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}">
<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}">
<nobr>
{t}Own logs{/t}
{if $sortby=='bymylastlog'}
&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=='desc'}asc{else}desc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<a href="search.php?queryid={$queryid}&showresult=1&sortby=bylastlog&sortorder={if ($sortby!='bymylastlog' && $sortby!='bylastlog') || $sortorder=='asc'}desc{else}asc{/if}{if $startat}&startat={$startat}{/if}{if $creationdate}&creationdate=1{/if}">
<nobr>
{t}Last logs{/t}
{if $sortby=='bylastlog'}

0 comments on commit fd8f214

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