Browse files

Fixo

  • Loading branch information...
1 parent 65f0a8f commit a6c970b863db0f4a1fab2a9f3bb33f8b9c5deeab ethem committed Feb 11, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 enrol/authorize/locallib.php
View
4 enrol/authorize/locallib.php
@@ -23,7 +23,7 @@ function authorize_print_orders($courseid, $userid)
$perpage = optional_param('perpage', 10, PARAM_INT);
$showonlymy = optional_param('showonlymy', 0, PARAM_BOOL);
$searchquery = optional_param('searchquery', '0', PARAM_INT);
- $searchtype = optional_param('searchtype', 'id', PARAM_ALPHA);
+ $searchtype = optional_param('searchtype', 'orderid', PARAM_ALPHA);
$status = optional_param('status', AN_STATUS_NONE, PARAM_INT);
$searchmenu = array('orderid' => $authstrs->orderid, 'transid' => $authstrs->transid, 'cclastfour' => $authstrs->cclastfour);
@@ -92,7 +92,7 @@ function authorize_print_orders($courseid, $userid)
if ($perpage > 100) { $perpage = 100; }
$perpagemenus = array(5 => 5, 10 => 10, 20 => 20, 50 => 50, 100 => 100);
$perpagemenu = popup_form($baseurl.'&status='.$status.'&course='.$courseid.'&perpage=',$perpagemenus,'perpagemenu',$perpage,'','','',true);
- $table->define_columns(array('id', 'timecreated', 'userid', 'status', ''));
+ $table->define_columns(array('id', 'userid', 'timecreated', 'status', ''));
$table->define_headers(array($authstrs->orderid, $authstrs->shopper, $strs->time, $strs->status, $perpagemenu));
$table->define_baseurl($baseurl."&status=$status&course=$courseid&perpage=$perpage");

0 comments on commit a6c970b

Please sign in to comment.