Browse Source

Merge pull request #136 from ycastillo/yoselyn.new.6312

Yoselyn.new.6312
ycastillo 11 years ago
parent
commit
12b5a6d0a0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      main/admin/session_list.php

+ 4 - 4
main/admin/session_list.php

@@ -74,11 +74,11 @@ $column_model   = array(
     array('name'=>'date_start',     'index'=>'s.date_start',    'width'=>'40',   'align'=>'left', 'search' => 'true'),
     array('name'=>'date_end',       'index'=>'s.date_end',      'width'=>'40',   'align'=>'left', 'search' => 'true'),
     array('name'=>'coach_name',     'index'=>'coach_name',    'width'=>'80',   'align'=>'left', 'search' => 'false'),
-    array('name'=>'status',         'index'=>'session_active','width'=>'40',   'align'=>'left', 'search' => 'true', 'stype'=>'select',
+    array('name'=>'status',         'index'=>'session_active','width'=>'50',   'align'=>'left', 'search' => 'true', 'stype'=>'select',
         //for the bottom bar
         'searchoptions' => array(
-            'defaultValue'  => '1',
-            'value'         => '1:'.get_lang('Active').';0:'.get_lang('Inactive')
+            'defaultValue'  => ':',
+            'value'         => ':'.get_lang('All').';1:'.get_lang('Active').';0:'.get_lang('Inactive')
         ),
         //for the top bar
         'editoptions' => array(
@@ -113,7 +113,7 @@ function setSearchSelect(columnName) {
         {
             searchoptions: {
                 dataInit:function(el) {
-                    $("option[value='2']",el).attr("selected", "selected");
+                    $("option[value='1']",el).attr("selected", "selected");
                     setTimeout(function() {
                         $(el).trigger('change');
                     }, 1000);