Changeset 82727 in spip-zone


Ignore:
Timestamp:
May 24, 2014, 11:44:44 AM (5 years ago)
Author:
marcimat@…
Message:

A priori, il n'y a qu'un seul critère pagination par boucle. Un bout de code inutile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/iterateur/sphinx2.php

    r82725 r82727  
    726726function critere_SPHINX2_pagination_dist($idb, &$boucles, $crit) {
    727727        $boucle = &$boucles[$idb];
    728         // critere multiple
    729         $boucle->hash .= "\n\tif (!isset(\$spagination_init)) { \$command['pagination'] = array(); \$spagination_init = true; }\n";
    730 
     728        // critere unique
    731729        $boucle->hash .=        "\t\$command['pagination'] = array("
    732730                . "intval(@\$Pile[0]['debut".$idb."']),"
Note: See TracChangeset for help on using the changeset viewer.