Changeset 1477


Ignore:
Timestamp:
Sep 28, 2010, 9:34:06 PM (10 years ago)
Author:
goya
Message:

correction lien tri par pertinence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/solr/templates/searchSuccess.php

    r1471 r1477  
    171171<?php
    172172  $newargs = $selected;
    173   if ($sort)
     173  if ($sort) {
     174    if (isset($newargs['sort']))
     175      $newargs['sort'] = 0;
    174176    echo link_search('trier par pertinence', $query, $newargs, 0);
    175   else {
     177  } else {
    176178    $newargs['sort'] = 1;
    177179    echo link_search('trier par date', $query, $newargs, 0);
Note: See TracChangeset for help on using the changeset viewer.