Osticket: banlist.inc.phpのソートエラー

作成日 2016年11月03日  ·  2コメント  ·  ソース: osTicket/osTicket

開発ブランチと1.9.8.1バージョン(他のバージョンでも同じエラーが発生する可能性があります)では、banlist.inc.phpの113〜116行目で、文字列「staff.php」を「banlist.php」に変更する必要があります。問題#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

全てのコメント2件

したがって、1.9.8.1はこの時点では本当に古いものです。 あなたは本当にあなたのバージョンを更新する必要があります。

この問題で保留中のプルリクエストがあります。 ありがとうございました。

このページは役に立ちましたか?
0 / 5 - 0 評価