Osticket: Erreur de tri pour banlist.inc.php

Créé le 3 nov. 2016  ·  2Commentaires  ·  Source: osTicket/osTicket

Sous la branche de développement et la version 1.9.8.1 (une autre version pourrait-elle également avoir la même erreur), ligne 113-116 dans banlist.inc.php , la chaîne "staff.php" doit être remplacée par "banlist.php". le tri ne fonctionnerait pas, ce qui est mentionné dans le numéro 1725 .

            <th width="56%"><a <?php echo $email_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=email"><?php echo __('Email Address');?></a></th>
            <th width="10%"><a  <?php echo $status_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=status"><?php echo __('Ban Status');?></a></th>
            <th width="10%"><a <?php echo $created_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=created"><?php echo __('Date Added');?></a></th>
            <th width="20%"><a <?php echo $updated_sort; ?> href="staff.php?<?php echo $qstr; ?>&sort=updated"><?php echo __('Last Updated');?></a></th>

à

        <th width="56%"><a <?php echo $email_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=email"><?php echo __('Email Address');?></a></th>
        <th width="10%"><a  <?php echo $status_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=status"><?php echo __('Ban Status');?></a></th>
        <th width="10%"><a <?php echo $created_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=created"><?php echo __('Date Added');?></a></th>
        <th width="20%"><a <?php echo $updated_sort; ?> href="banlist.php?<?php echo $qstr; ?>&sort=updated"><?php echo __('Last Updated');?></a></th>
bug

Tous les 2 commentaires

Donc 1.9.8.1 est vraiment vieux à ce stade. Tu devrais vraiment mettre à jour ta version.

J'ai une demande de tirage en attente sur ce problème. Merci.

Cette page vous a été utile?
0 / 5 - 0 notes