diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index cb2da1c2e7..65fb40bc34 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -394,16 +394,16 @@ class infolog_ui // add a '-details' to the name of the columnselection pref if ($details) { - $query['columnselection-pref'] = 'nextmatch-'.(is_object($query['template'])?$query['template']->name:'infolog.index.rows').'-details'; + $query['columnselection_pref'] = 'nextmatch-'.(is_object($query['template'])?$query['template']->name:'infolog.index.rows').'-details'; $query['default_cols'] = '!cat_id,info_used_time_info_planned_time,info_used_time_info_planned_time_info_replanned_time,info_id,actions'; } else { - $query['columnselection-pref'] = 'nextmatch-infolog.index.rows'; + $query['columnselection_pref'] = 'nextmatch-infolog.index.rows'; $query['default_cols'] = '!cat_id,info_datemodified,info_used_time_info_planned_time,info_used_time_info_planned_time_info_replanned_time,info_id,actions'; } // set old show_times pref, that get_info calculates the cumulated time of the timesheets (we only check used&planned to work for both time cols) - $this->prefs['show_times'] = strpos($this->prefs[$query['columnselection-pref']],'info_used_time_info_planned_time') !== false; + $this->prefs['show_times'] = strpos($this->prefs[$query['columnselection_pref']],'info_used_time_info_planned_time') !== false; // query all links and sub counts in one go if ($infos && (!$query['csv_export'] || !is_array($query['csv_export']))) diff --git a/infolog/js/app.js b/infolog/js/app.js index 9ec1ecc348..2ea6c26d0b 100644 --- a/infolog/js/app.js +++ b/infolog/js/app.js @@ -141,7 +141,7 @@ app.classes.infolog = AppJS.extend( // Load new preferences var colData = []; - for(var i = 0; i < nm.columns.length; i++) colData[i] = {disabled: true, width: '0'}; + for(var i = 0; i < nm.columns.length; i++) colData[i] = {disabled: true, width: '20'}; nm._applyUserPreferences(nm.columns, colData); for(var i = 0; i < colData.length; i++) {