Osticket: Sortierfehler für banlist.inc.php

Erstellt am 3. Nov. 2016  ·  2Kommentare  ·  Quelle: osTicket/osTicket

Unter dem Entwicklungszweig und der Version 1.9.8.1 (möglicherweise haben auch andere Versionen den gleichen Fehler), Zeile 113-116 in banlist.inc.php , sollte die Zeichenfolge "staff.php" in "banlist.php" geändert werden Sortieren würde nicht funktionieren, was in Ausgabe #1725 erwähnt wurde.

            <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>

zu

        <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

Alle 2 Kommentare

1.9.8.1 ist zu diesem Zeitpunkt also wirklich alt. Sie sollten Ihre Version wirklich aktualisieren.

Ich habe einen Pull Request , der zu diesem Problem aussteht. Danke.

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen